Netdev List
 help / color / mirror / Atom feed
* [PATCH] RealTek RTL-8169 Full Duplex Patch
@ 2006-01-30 16:10 Andy Gospodarek
  2006-01-31 18:19 ` Francois Romieu
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Gospodarek @ 2006-01-30 16:10 UTC (permalink / raw)
  To: netdev, romieu; +Cc: linux-kernel


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

Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
---

 r8169.c |    3 +++
 1 files changed, 3 insertions(+)

--- 2.6/drivers/net/r8169.c.orig	2006-01-23 12:55:19.224875000 -0600
+++ 2.6/drivers/net/r8169.c	2006-01-23 13:29:54.967655000 -0600
@@ -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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-31 18:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-30 16:10 [PATCH] RealTek RTL-8169 Full Duplex Patch Andy Gospodarek
2006-01-31 18:19 ` Francois Romieu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox