Netdev List
 help / color / mirror / Atom feed
From: Andy Gospodarek <andy@greyhouse.net>
To: netdev@vger.kernel.org, romieu@fr.zoreil.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] RealTek RTL-8169 Full Duplex Patch
Date: Mon, 30 Jan 2006 10:10:29 -0600	[thread overview]
Message-ID: <20060130161029.GA11938@gospo.rdu.redhat.com> (raw)


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;

             reply	other threads:[~2006-01-30 16:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-30 16:10 Andy Gospodarek [this message]
2006-01-31 18:19 ` [PATCH] RealTek RTL-8169 Full Duplex Patch Francois Romieu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060130161029.GA11938@gospo.rdu.redhat.com \
    --to=andy@greyhouse.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=romieu@fr.zoreil.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox