Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e8e2d49 authored by Dale Farnsworth's avatar Dale Farnsworth Committed by Ralf Baechle
Browse files

[MIPS] Fix port 0 mac address for mips mv6434x platforms

parent 0970769a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -200,7 +200,7 @@ static int __init mv643xx_eth_add_pds(void)
	int ret;
	int ret;


	get_mac(mac);
	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(eth1_mac_addr, mac, 1);
	eth_mac_add(eth2_mac_addr, mac, 2);
	eth_mac_add(eth2_mac_addr, mac, 2);
	ret = platform_add_devices(mv643xx_eth_pd_devs,
	ret = platform_add_devices(mv643xx_eth_pd_devs,
+1 −1
Original line number Original line Diff line number Diff line
@@ -200,7 +200,7 @@ static int __init mv643xx_eth_add_pds(void)
	int ret;
	int ret;


	get_mac(mac);
	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(eth1_mac_addr, mac, 1);
	eth_mac_add(eth2_mac_addr, mac, 2);
	eth_mac_add(eth2_mac_addr, mac, 2);
	ret = platform_add_devices(mv643xx_eth_pd_devs,
	ret = platform_add_devices(mv643xx_eth_pd_devs,
+1 −1
Original line number Original line Diff line number Diff line
@@ -174,7 +174,7 @@ static int __init mv643xx_eth_add_pds(void)
	int ret;
	int ret;


	get_mac(mac);
	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(eth1_mac_addr, mac, 1);
	ret = platform_add_devices(mv643xx_eth_pd_devs,
	ret = platform_add_devices(mv643xx_eth_pd_devs,
			ARRAY_SIZE(mv643xx_eth_pd_devs));
			ARRAY_SIZE(mv643xx_eth_pd_devs));