lkml.org 
[lkml]   [2007]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Abit F-190HD Onboard rlt8169 Ethernet Controller
On Mon, 29 Oct 2007 08:33:33 +0000
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> > It is not recognised by 2.6.24-rc1. I'm guessing it's because the
> > vendor ID is 0001 rather than something sensible. I patched the
> > kernel as follows:
>
> A vendor ID of 1 is very very very broken. Do all boards have this or
> do you have a faulty box (perhaps a misprogrammed EEPROM somewhere)

A Google for 0001:8168 finds other mentions of the same board. Looks
like it's a general problem.

> That will match any device 0x8168 not just a realtek one. I'd use
> 0x0001, 0x8168 for the match.

Ok. I've attached an updated patch.

Thanks,
--
Ciaran McCreesh--- drivers/net/r8169.c.orig 2007-10-29 05:37:02.000000000 +0000
+++ drivers/net/r8169.c 2007-10-29 08:46:24.000000000 +0000
@@ -165,6 +165,7 @@
{ PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8136), 0, 0, RTL_CFG_2 },
{ PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8167), 0, 0, RTL_CFG_0 },
{ PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8168), 0, 0, RTL_CFG_1 },
+ { PCI_DEVICE(0x0001, 0x8168), 0, 0, RTL_CFG_2 },
{ PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8169), 0, 0, RTL_CFG_0 },
{ PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4300), 0, 0, RTL_CFG_0 },
{ PCI_DEVICE(PCI_VENDOR_ID_AT, 0xc107), 0, 0, RTL_CFG_0 },
\
 
 \ /
  Last update: 2007-10-29 09:53    [W:0.102 / U:0.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site