
11 Jun
2011
11 Jun
'11
12:26 a.m.
On Fri, Jun 10, 2011 at 3:09 PM, Eric Bénard eric@eukrea.com wrote:
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
Hi Eric,
OK thanks have added Gilles' patch and will resend the series on Monday with any comments received. If this can get applied then perhaps we can more easily handle other patches that come up. This driver is by no means perfect but it is a start.
Regards, Simon
Eric