Netdev List
 help / color / mirror / Atom feed
* [PATCH 00/02] pull request for 'upstream-jeff' branch
@ 2007-11-06 22:22 Francois Romieu
  2007-11-06 22:23 ` [PATCH 01/02] r8169: add PCI ID for the 8168 in the Abit Fatal1ty F-190HD motherboard Francois Romieu
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Francois Romieu @ 2007-11-06 22:22 UTC (permalink / raw)
  To: jgarzik; +Cc: netdev, Andrew Morton, Edward Hsu

Please pull from branch 'upstream-jeff' in repository

git://git.kernel.org/pub/scm/linux/kernel/git/romieu/netdev-2.6.git upstream-jeff

to get the changes below.

Distance from 'master' (f2511f13daaf00fdd206bee7b108f75923a613c6)
-----------------------------------------------------------------

69b4d070ea49bd7f589776ea471a6988345eeee5
db1470271c581050dcacc6ed681b9166d30bdba0

Diffstat
--------

 drivers/net/r8169.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

Shortlog
--------

Ciaran McCreesh (1):
      r8169: add PCI ID for the 8168 in the Abit Fatal1ty F-190HD motherboard

Francois Romieu (1):
      r8169: do not enable the TBI for the 8168 and the 81x0

Patch
-----

diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index b94fa7e..9dbab3f 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -171,6 +171,8 @@ static struct pci_device_id rtl8169_pci_tbl[] = {
 	{ PCI_DEVICE(0x16ec,			0x0116), 0, 0, RTL_CFG_0 },
 	{ PCI_VENDOR_ID_LINKSYS,		0x1032,
 		PCI_ANY_ID, 0x0024, 0, 0, RTL_CFG_0 },
+	{ 0x0001,				0x8168,
+		PCI_ANY_ID, 0x2410, 0, 0, RTL_CFG_2 },
 	{0,},
 };
 
@@ -1739,7 +1741,8 @@ rtl8169_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
 	tp->features |= rtl_try_msi(pdev, ioaddr, cfg);
 	RTL_W8(Cfg9346, Cfg9346_Lock);
 
-	if (RTL_R8(PHYstatus) & TBI_Enable) {
+	if ((tp->mac_version <= RTL_GIGA_MAC_VER_06) &&
+	    (RTL_R8(PHYstatus) & TBI_Enable)) {
 		tp->set_speed = rtl8169_set_speed_tbi;
 		tp->get_settings = rtl8169_gset_tbi;
 		tp->phy_reset_enable = rtl8169_tbi_reset_enable;
-- 
Ueimor

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

end of thread, other threads:[~2007-11-07 17:35 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-06 22:22 [PATCH 00/02] pull request for 'upstream-jeff' branch Francois Romieu
2007-11-06 22:23 ` [PATCH 01/02] r8169: add PCI ID for the 8168 in the Abit Fatal1ty F-190HD motherboard Francois Romieu
2007-11-06 22:37   ` Stephen Hemminger
2007-11-06 23:19     ` Francois Romieu
2007-11-06 23:20       ` Stephen Hemminger
2007-11-06 22:25 ` [PATCH 02/02] r8169: do not enable the TBI for the 8168 and the 81x0 Francois Romieu
2007-11-07  1:15 ` [PATCH 00/05] ipv6: RFC4214 Support Templin, Fred L
2007-11-07  4:38   ` David Miller
2007-11-07  5:26     ` David Stevens
2007-11-07  5:37       ` David Miller
2007-11-07  5:55         ` YOSHIFUJI Hideaki / 吉藤英明
2007-11-07  6:07           ` David Stevens
2007-11-07  6:37             ` David Miller
2007-11-07  7:03               ` Pekka Savola
2007-11-07  7:54                 ` David Stevens
2007-11-07 14:41                   ` Templin, Fred L
2007-11-07 17:23                     ` Templin, Fred L
2007-11-07 14:41                   ` Pekka Savola
2007-11-07 17:35                     ` David Stevens

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