public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v7 RESEND 1/5] Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter
Date: Sat, 11 Jun 2011 00:09:06 +0200	[thread overview]
Message-ID: <4DF29602.5050004@eukrea.com> (raw)
In-Reply-To: <1307718251-15947-2-git-send-email-sjg@chromium.org>

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

  reply	other threads:[~2011-06-10 22:09 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-10 15:04 [U-Boot] [PATCH v7 RESEND 0/5] Add SMSC95XX support including MAC address control Simon Glass
2011-06-10 15:04 ` [U-Boot] [PATCH v7 RESEND 1/5] Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter Simon Glass
2011-06-10 22:09   ` Eric Bénard [this message]
2011-06-10 22:26     ` Simon Glass
2011-06-10 22:54       ` Eric Bénard
2011-06-10 15:04 ` [U-Boot] [PATCH v7 RESEND 2/5] Add Ethernet hardware MAC address framework to usbnet Simon Glass
2011-06-10 15:04 ` [U-Boot] [PATCH v7 RESEND 3/5] Add documentation for USB Host Networking Simon Glass
2011-06-10 15:04 ` [U-Boot] [PATCH v7 RESEND 4/5] Put common autoload code into auto_load() function Simon Glass
2011-06-10 21:53   ` Eric Bénard
2011-06-10 22:32     ` Simon Glass
2011-06-10 15:04 ` [U-Boot] [PATCH v7 RESEND 5/5] usbeth: asix: Do a fast init if link already established Simon Glass
2011-06-10 20:09   ` Mike Frysinger
2011-06-10 22:22     ` Simon Glass
2011-06-11 22:17       ` Mike Frysinger
2011-06-12  0:01         ` Simon Glass
2011-06-10 22:25 ` [U-Boot] [PATCH v7 RESEND 0/5] Add SMSC95XX support including MAC address control Eric Bénard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DF29602.5050004@eukrea.com \
    --to=eric@eukrea.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox