aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-07-27 21:04:43 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-07-27 21:04:43 +0000
commit9c66f092fd883e23f1a24751bdd0ef3a3c7727a0 (patch)
tree309515fa1cf4cdff1431a077cf8b1f8cf9745c2d
parent4dbe40188fe1efe21573f5063f9fa4815491a368 (diff)
downloadmaster-187ad058-9c66f092fd883e23f1a24751bdd0ef3a3c7727a0.tar.gz
master-187ad058-9c66f092fd883e23f1a24751bdd0ef3a3c7727a0.tar.bz2
master-187ad058-9c66f092fd883e23f1a24751bdd0ef3a3c7727a0.zip
ar71xx: remove the fifo cfg overrides for the ap91 ethernet code - these values have been wrong on every single device i've tested, falling back to the atheros values seems to be the right thing to do
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22401 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/dev-ap91-eth.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/dev-ap91-eth.c b/target/linux/ar71xx/files/arch/mips/ar71xx/dev-ap91-eth.c
index c48af45cfb..e45092c46c 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/dev-ap91-eth.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/dev-ap91-eth.c
@@ -50,17 +50,11 @@ void __init ap91_eth_init(u8 *mac_addr, const char *port_names[])
ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;
ar71xx_eth0_data.speed = SPEED_100;
ar71xx_eth0_data.duplex = DUPLEX_FULL;
- ar71xx_eth0_data.fifo_cfg1 = 0x0fff0000;
- ar71xx_eth0_data.fifo_cfg2 = 0x00001fff;
- ar71xx_eth0_data.fifo_cfg3 = 0x008001ff;
/* LAN ports */
ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;
ar71xx_eth1_data.speed = SPEED_1000;
ar71xx_eth1_data.duplex = DUPLEX_FULL;
- ar71xx_eth1_data.fifo_cfg1 = 0x0fff0000;
- ar71xx_eth1_data.fifo_cfg2 = 0x00001fff;
- ar71xx_eth1_data.fifo_cfg3 = 0x008001ff;
ar71xx_add_device_mdio(0x0);
ar71xx_add_device_eth(1);