]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] Fix port 0 mac address for mips mv6434x platforms
authorDale Farnsworth <dale@farnsworth.org>
Tue, 20 Feb 2007 22:46:49 +0000 (15:46 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 22 Feb 2007 00:50:45 +0000 (00:50 +0000)
Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/momentum/jaguar_atx/platform.c
arch/mips/momentum/ocelot_3/platform.c
arch/mips/momentum/ocelot_c/platform.c

index c78ba3025af48a5b6e4f0e7262067b8037a0a707..3df36eda75af6228445a64d28c2c4ee12a98d89e 100644 (file)
@@ -200,7 +200,7 @@ static int __init mv643xx_eth_add_pds(void)
        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 0ab8d231cf7df6d4ab4b7f128b44c67126e25d3c..024aef25f3728bba2d8a988141778ca75a8c391d 100644 (file)
@@ -200,7 +200,7 @@ static int __init mv643xx_eth_add_pds(void)
        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 8e381d447573cb87020dccf2f24e3b26095348d7..fac8b2499387a7c83137d4d75747b7f6c96a5dcb 100644 (file)
@@ -174,7 +174,7 @@ static int __init mv643xx_eth_add_pds(void)
        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));