From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Eric_B=E9nard?= Date: Sat, 11 Jun 2011 00:09:06 +0200 Subject: [U-Boot] [PATCH v7 RESEND 1/5] Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter In-Reply-To: <1307718251-15947-2-git-send-email-sjg@chromium.org> References: <1307718251-15947-1-git-send-email-sjg@chromium.org> <1307718251-15947-2-git-send-email-sjg@chromium.org> Message-ID: <4DF29602.5050004@eukrea.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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