aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorLeon M. George <leon@georgemail.eu>2017-06-09 13:57:56 +0200
committerPiotr Dymacz <pepe2k@gmail.com>2017-06-29 10:37:36 +0200
commit98c5a71dfd5f1dc3d4ca7c08646b7fb106a38970 (patch)
tree5392004b8556eb5d835f3fb4a837a677d8f4d803 /target
parentc777fd8a7effc22da12f5a1f0dbfca26b2b244b2 (diff)
downloadupstream-98c5a71dfd5f1dc3d4ca7c08646b7fb106a38970.tar.gz
upstream-98c5a71dfd5f1dc3d4ca7c08646b7fb106a38970.tar.bz2
upstream-98c5a71dfd5f1dc3d4ca7c08646b7fb106a38970.zip
ar71xx: wpj344: remove unused eth1 device
Signed-off-by: Leon M. George <leon@georgemail.eu>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-wpj344.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj344.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj344.c
index 81d9060c82..9f52279f5f 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj344.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj344.c
@@ -150,11 +150,9 @@ static void __init wpj344_setup(void)
mdiobus_register_board_info(wpj344_mdio0_info,
ARRAY_SIZE(wpj344_mdio0_info));
- ath79_register_mdio(1, 0x0);
ath79_register_mdio(0, 0x0);
ath79_init_mac(ath79_eth0_data.mac_addr, mac + WPJ344_MAC0_OFFSET, 0);
- ath79_init_mac(ath79_eth1_data.mac_addr, mac + WPJ344_MAC1_OFFSET, 0);
ath79_setup_ar934x_eth_cfg(AR934X_ETH_CFG_RGMII_GMAC0 |
AR934X_ETH_CFG_SW_ONLY_MODE);
@@ -165,13 +163,7 @@ static void __init wpj344_setup(void)
ath79_eth0_data.mii_bus_dev = &ath79_mdio0_device.dev;
ath79_eth0_pll_data.pll_1000 = 0x06000000;
- /* GMAC1 is connected to the internal switch */
- ath79_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_GMII;
- ath79_eth1_data.speed = SPEED_1000;
- ath79_eth1_data.duplex = DUPLEX_FULL;
-
ath79_register_eth(0);
- ath79_register_eth(1);
}
MIPS_MACHINE(ATH79_MACH_WPJ344, "WPJ344", "Compex WPJ344", wpj344_setup);