
11 Jun
2011
11 Jun
'11
12:09 a.m.
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