summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-05-26 16:02:29 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-05-26 16:02:29 +0000
commit93ce462b7eeb1ad49079b414ea4b01e8eeb2d4f0 (patch)
treec7dcb47fde51f02c40c56ae4432384afa353f0bc /target/linux
parent0842478e4453db1a523d959afb56edadbefbf354 (diff)
downloadmtk-20170518-93ce462b7eeb1ad49079b414ea4b01e8eeb2d4f0.zip
mtk-20170518-93ce462b7eeb1ad49079b414ea4b01e8eeb2d4f0.tar.gz
mtk-20170518-93ce462b7eeb1ad49079b414ea4b01e8eeb2d4f0.tar.bz2
ar71xx: set eth0 mac address to match bottom label of the OM2P LC
Signed-off-by: marek@open-mesh.com CC: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36723
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c
index 8adac0f..f26314c 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c
+++ b/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);