Displaying 1 result from an estimated 1 matches for "rtl8169_set_speed".
2011 Dec 20
1
Disable autoneg on r8169?
...ernel module parameter sk98lin.ConType=100FD on the
kernel boot line.
I looked at the r8169.c and tried to hard code the default to autoneg
off 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,...