[U-Boot] [PATCH 2/2] use MAC from environment and add support for new NET_MULTI api in ethernet driver of KS8695
Mike Frysinger
vapier at gentoo.org
Tue Nov 9 15:39:12 CET 2010
On Thursday, November 04, 2010 06:15:09 Bernstein, Michael wrote:
> /*
> + * some defines to allow switching between NET_MULTI and old API
> + */
> +#if defined(CONFIG_NET_MULTI)
> +#define KS8695_ETH_RESET ks8695_eth_reset
> +#define KS8695_ETH_HALT ks8695_eth_halt
> +#define KS8695_ETH_INIT ks8695_eth_init
> +#define KS8695_ETH_RX ks8695_eth_rx
> +#define KS8695_ETH_SEND ks8695_eth_send
> +#define KS8695_DRIVERNAME "KS8695"
> +#else
> +#define KS8695_ETH_RESET eth_reset
> +#define KS8695_ETH_HALT eth_halt
> +#define KS8695_ETH_INIT eth_init
> +#define KS8695_ETH_RX eth_rx
> +#define KS8695_ETH_SEND eth_send
> +#endif
NAK. only support the NET_MULTI API. the old style is dead.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20101109/57df4bbe/attachment.pgp
More information about the U-Boot
mailing list