mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
[MIPS] Fix port 0 mac address for mips mv6434x platforms
Signed-off-by: Dale Farnsworth <dale@farnsworth.org> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
0970769ace
commit
2e8e2d49b1
3 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue