* [U-Boot] [PATCH] net: fec_mxc: add write_hwaddr support
@ 2010-04-27 5:43 Heiko Schocher
2010-04-27 17:03 ` Ben Warren
0 siblings, 1 reply; 2+ messages in thread
From: Heiko Schocher @ 2010-04-27 5:43 UTC (permalink / raw)
To: u-boot
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;
--
1.6.2.5
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] net: fec_mxc: add write_hwaddr support
2010-04-27 5:43 [U-Boot] [PATCH] net: fec_mxc: add write_hwaddr support Heiko Schocher
@ 2010-04-27 17:03 ` Ben Warren
0 siblings, 0 replies; 2+ messages in thread
From: Ben Warren @ 2010-04-27 17:03 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-27 17:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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.