diff options
author | John Crispin <blogic@openwrt.org> | 2015-07-09 06:59:18 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-07-09 06:59:18 +0000 |
commit | 4abaa8e05ec82349f45afa02bb026601f658487f (patch) | |
tree | 48ed456a424aa5d44d36dbd4320304df1ef2adda /target/linux/ar71xx/files | |
parent | 25aa780297633b97f621970fa7d57927b8e577a7 (diff) | |
download | master-187ad058-4abaa8e05ec82349f45afa02bb026601f658487f.tar.gz master-187ad058-4abaa8e05ec82349f45afa02bb026601f658487f.tar.bz2 master-187ad058-4abaa8e05ec82349f45afa02bb026601f658487f.zip |
ar71xx: compex wpj531 fix ethernet registration
In fb6f62e97733312053ab593fcf68eea47a21169e several settings
are set on the ethernet device, but they are not working.
Fix Ethernet by setting the right values.
Signed-off-by: Christian Mehlis <christian@m3hlis.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46281 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c index e665a2e993..b10691766a 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c @@ -115,8 +115,8 @@ static void __init common_setup(void) /* WAN */ ath79_switch_data.phy4_mii_en = 1; ath79_eth1_data.duplex = DUPLEX_FULL; - ath79_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_MII; - ath79_eth1_data.speed = SPEED_100; + ath79_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_GMII; + ath79_eth1_data.speed = SPEED_1000; ath79_switch_data.phy_poll_mask |= BIT(4); ath79_init_mac(ath79_eth1_data.mac_addr, mac, 1); ath79_register_eth(1); |