Browse Source

ar71xx: set eth0 mac address to match bottom label of the OM2P LC

Signed-off-by: [email protected]
CC: Gabor Juhos <[email protected]>
Signed-off-by: Gabor Juhos <[email protected]>

SVN-Revision: 36723
Gabor Juhos 12 years ago
parent
commit
93ce462b7e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c

+ 2 - 2
target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c

@@ -162,8 +162,8 @@ static void __init om2p_lc_setup(void)
 					ARRAY_SIZE(om2p_gpio_keys),
 					om2p_gpio_keys);
 
-	ath79_init_mac(ath79_eth1_data.mac_addr, mac1, 0);
-	ath79_init_mac(ath79_eth0_data.mac_addr, mac2, 0);
+	ath79_init_mac(ath79_eth0_data.mac_addr, mac1, 0);
+	ath79_init_mac(ath79_eth1_data.mac_addr, mac2, 0);
 
 	ath79_register_mdio(0, 0x0);