* [PATCH] Fix port 0 mac address for mips mv643xx platforms
@ 2007-02-20 22:46 Dale Farnsworth
2007-02-20 23:50 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Dale Farnsworth @ 2007-02-20 22:46 UTC (permalink / raw)
To: Ralf Baechle; +Cc: linux-mips
From: Dale Farnsworth <dale@farnsworth.org>
Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
---
Untested, but seems obvious enough.
arch/mips/momentum/jaguar_atx/platform.c | 2 +-
arch/mips/momentum/ocelot_3/platform.c | 2 +-
arch/mips/momentum/ocelot_c/platform.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
Index: b/arch/mips/momentum/jaguar_atx/platform.c
===================================================================
--- a/arch/mips/momentum/jaguar_atx/platform.c
+++ b/arch/mips/momentum/jaguar_atx/platform.c
@@ -200,7 +200,7 @@ static int __init mv643xx_eth_add_pds(vo
int ret;
get_mac(mac);
- eth_mac_add(eth1_mac_addr, mac, 0);
+ eth_mac_add(eth0_mac_addr, mac, 0);
eth_mac_add(eth1_mac_addr, mac, 1);
eth_mac_add(eth2_mac_addr, mac, 2);
ret = platform_add_devices(mv643xx_eth_pd_devs,
Index: b/arch/mips/momentum/ocelot_3/platform.c
===================================================================
--- a/arch/mips/momentum/ocelot_3/platform.c
+++ b/arch/mips/momentum/ocelot_3/platform.c
@@ -200,7 +200,7 @@ static int __init mv643xx_eth_add_pds(vo
int ret;
get_mac(mac);
- eth_mac_add(eth1_mac_addr, mac, 0);
+ eth_mac_add(eth0_mac_addr, mac, 0);
eth_mac_add(eth1_mac_addr, mac, 1);
eth_mac_add(eth2_mac_addr, mac, 2);
ret = platform_add_devices(mv643xx_eth_pd_devs,
Index: b/arch/mips/momentum/ocelot_c/platform.c
===================================================================
--- a/arch/mips/momentum/ocelot_c/platform.c
+++ b/arch/mips/momentum/ocelot_c/platform.c
@@ -174,7 +174,7 @@ static int __init mv643xx_eth_add_pds(vo
int ret;
get_mac(mac);
- eth_mac_add(eth1_mac_addr, mac, 0);
+ eth_mac_add(eth0_mac_addr, mac, 0);
eth_mac_add(eth1_mac_addr, mac, 1);
ret = platform_add_devices(mv643xx_eth_pd_devs,
ARRAY_SIZE(mv643xx_eth_pd_devs));
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix port 0 mac address for mips mv643xx platforms
2007-02-20 22:46 [PATCH] Fix port 0 mac address for mips mv643xx platforms Dale Farnsworth
@ 2007-02-20 23:50 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2007-02-20 23:50 UTC (permalink / raw)
To: Dale Farnsworth; +Cc: linux-mips
On Tue, Feb 20, 2007 at 03:46:49PM -0700, Dale Farnsworth wrote:
> Untested, but seems obvious enough.
Indeed. Also an impressive demonstration that these platforms are probably
untested or their users (not unlikely in the embedded world!) are just
damn silent.
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-02-20 23:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-20 22:46 [PATCH] Fix port 0 mac address for mips mv643xx platforms Dale Farnsworth
2007-02-20 23:50 ` Ralf Baechle
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.