Author: nbd
Date: 2015-04-20 17:01:00 +0200 (Mon, 20 Apr 2015)
New Revision: 45524

Modified:
   trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-om5p.c
Log:
ar71xx: Increase RXD/RDV to 2 on OM5P-AN

It was reported that OM5P-AN needs not only a delay setting of 1 for RXD/RDV
but 2. These was found when testing with a NetGear GS752TP POE switch with a
cable length of 50ft and 250ft.

Signed-off-by: Sven Eckelmann <[email protected]>

Modified: trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-om5p.c
===================================================================
--- trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-om5p.c 2015-04-20 
15:00:52 UTC (rev 45523)
+++ trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-om5p.c 2015-04-20 
15:01:00 UTC (rev 45524)
@@ -186,9 +186,8 @@
        ath79_init_mac(mac, art, 0x02);
        ath79_register_wmac(art + OM5P_WMAC_CALDATA_OFFSET, mac);
 
-       ath79_setup_ar934x_eth_cfg(AR934X_ETH_CFG_RGMII_GMAC0 |
-                                  AR934X_ETH_CFG_RXD_DELAY |
-                                  AR934X_ETH_CFG_RDV_DELAY);
+       ath79_setup_ar934x_eth_cfg(AR934X_ETH_CFG_RGMII_GMAC0);
+       ath79_setup_ar934x_eth_rx_delay(2, 2);
        ath79_register_mdio(0, 0x0);
        ath79_register_mdio(1, 0x0);
 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to