Displaying 1 result from an estimated 1 matches for "autoneg_enable".
2011 Dec 20
1
Disable autoneg on r8169?
...ff but that didn't work.
--- linux-2.6.18-274.12.1.el5.i686/drivers/net/r8169.c
+++ disable-autoneg/drivers/net/r8169.c
@@ -2814,7 +2814,8 @@
* rtl8169_set_speed_xmii takes good care of the Fast Ethernet
* only 8101. Don't panic.
*/
- rtl8169_set_speed(dev, AUTONEG_ENABLE, SPEED_1000, DUPLEX_FULL);
+ //rtl8169_set_speed(dev, AUTONEG_ENABLE, SPEED_1000, DUPLEX_FULL);
+ rtl8169_set_speed(dev, AUTONEG_DISABLE, SPEED_100, DUPLEX_FULL);
if ((RTL_R8(PHYstatus) & TBI_Enable) && netif_msg_link(tp))
printk(KERN_INFO PFX "...