diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-07-27 21:04:43 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-07-27 21:04:43 +0000 |
commit | 65899cfa4946f945d1a91eab21b73f7534d5baf8 (patch) | |
tree | 5a21a12bf46f617d5b4c49e427839b025e1baf28 /target | |
parent | 233294722c15a96866557755e4a93dfa59b23080 (diff) | |
download | mtk-20170518-65899cfa4946f945d1a91eab21b73f7534d5baf8.zip mtk-20170518-65899cfa4946f945d1a91eab21b73f7534d5baf8.tar.gz mtk-20170518-65899cfa4946f945d1a91eab21b73f7534d5baf8.tar.bz2 |
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
SVN-Revision: 22401
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/dev-ap91-eth.c | 6 |
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 c48af45..e45092c 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); |