Author: blogic
Date: 2015-07-09 08:59:18 +0200 (Thu, 09 Jul 2015)
New Revision: 46281

Modified:
   trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c
Log:
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 <[email protected]>

Modified: trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c
===================================================================
--- trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c       
2015-07-09 06:57:39 UTC (rev 46280)
+++ trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c       
2015-07-09 06:59:18 UTC (rev 46281)
@@ -115,8 +115,8 @@
        /* 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);
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to