[U-Boot] [PATCH v7 RESEND 1/5] Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter
Eric Bénard
eric at eukrea.com
Sat Jun 11 00:09:06 CEST 2011
Hi Simon,
On 10/06/2011 17:04, Simon Glass wrote:
> +int smsc95xx_eth_get_info(struct usb_device *dev, struct ueth_data *ss,
> + struct eth_device *eth)
> +{
> + debug("** %s()\n", __func__);
> + if (!eth) {
> + debug("%s: missing parameter.\n", __func__);
> + return 0;
> + }
> + sprintf(eth->name, "%s%d", SMSC95XX_BASE_NAME, curr_eth_dev++);
> + eth->init = smsc95xx_init;
> + eth->send = smsc95xx_send;
> + eth->recv = smsc95xx_recv;
> + eth->halt = smsc95xx_halt;
as Gilles in "Re: [U-Boot] TFTP support for Pandaboard (OMAP4430 Cortex-A9
Dual core)", you need
+ eth->write_hwaddr = smsc95xx_write_hwaddr;
here else setting MAC address using setenv usbethaddr doesn't work
Eric
More information about the U-Boot
mailing list