Skip to contentSkip to conversation

RealTek RTL-8169 Full Duplex Patch

PATCH In review Andy Gospodarek 2 participants 2 messages Jan 30, 2006 – Jan 31, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RealTek RTL-8169 Full Duplex Patch

Allow the r8129 driver to set devices to be full-duplex only when auto-negotiate is disabled.

---

 r8169.c |    3 +++
 1 files changed, 3 insertions(+)
drivers/net/r8169.c renamed from drivers/net/r8169.c.orig +3 -0
@@ -677,6 +677,9 @@
 
 		if (duplex == DUPLEX_HALF)
 			auto_nego &= ~(PHY_Cap_10_Full | PHY_Cap_100_Full);
+
+		if (duplex == DUPLEX_FULL)
+			auto_nego &= ~(PHY_Cap_10_Half | PHY_Cap_100_Half);
 	}
 
 	tp->phy_auto_nego_reg = auto_nego;
#1 lore raw

Andy Gospodarek <[email protected]> :

Quoted 2 lines

Allow the r8129 driver to set devices to be full-duplex only when auto-negotiate is disabled.

s/8129/8169 and added to the branch 'for-jeff' at
git://electric-eye.fr.zoreil.com/home/romieu/linux-2.6.git

Signature · 1 line
Ueimor