From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] net: fec_mxc: add write_hwaddr support
Date: Tue, 27 Apr 2010 10:03:59 -0700 [thread overview]
Message-ID: <4BD718FF.2080302@gmail.com> (raw)
In-Reply-To: <4BD67998.3020906@denx.de>
Heiko,
On 4/26/2010 10:43 PM, Heiko Schocher wrote:
> tested on the magnesium board.
>
> Signed-off-by: Heiko Schocher<hs@denx.de>
> ---
> Patch from Ben must be applied before, see this patch here:
>
> http://lists.denx.de/pipermail/u-boot/2010-April/070691.html
>
> drivers/net/fec_mxc.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c
> index 8c4ade5..2ea4fee 100644
> --- a/drivers/net/fec_mxc.c
> +++ b/drivers/net/fec_mxc.c
> @@ -505,7 +505,6 @@ static int fec_init(struct eth_device *dev, bd_t* bd)
> miiphy_restart_aneg(dev);
>
> fec_open(dev);
> - fec_set_hwaddr(dev);
> return 0;
> }
>
> @@ -713,6 +712,7 @@ static int fec_probe(bd_t *bd)
> edev->send = fec_send;
> edev->recv = fec_recv;
> edev->halt = fec_halt;
> + edev->write_hwaddr = fec_set_hwaddr;
>
> fec->eth = (struct ethernet_regs *)IMX_FEC_BASE;
> fec->bd = bd;
>
Applied to net repo.
thanks,
Ben
prev parent reply other threads:[~2010-04-27 17:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-27 5:43 [U-Boot] [PATCH] net: fec_mxc: add write_hwaddr support Heiko Schocher
2010-04-27 17:03 ` Ben Warren [this message]
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=4BD718FF.2080302@gmail.com \
--to=biggerbadderben@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.