lkml.org 
[lkml]   [2004]   [May]   [11]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateTue, 11 May 2004 21:50:08 -0300
SubjectRe: problem with sis900 driver 2.6.5 +
From(Aristeu Sergio Rozanski Filho)
> In kernels 2.6.5 and above (may affect 2.6.4 as well) there seems to be
> a problem with the sis900 eth driver
> 
> I have a sis chipset with integrated ethernet sis900 driver which has
> always worked perfectly up to and including 2.6.3 (fedora)
> 
> Now with both fedora 2.6.5 kernel and vanilla 2.6.6 eth0 does not come
> up
> 
> relevant messages
> 
> sis900 device eth0 does not appear to be present delaying initialisation
> 
> and from dmesg eth0: cannot find ISA bridge
> 
> 2.6.3 works fine
> 
> lsmod shows sis and sis900 modules loaded fine
I had the same problem, the patch attached is a dirty fix to get it
running again. in newer kernels its isa bridge is listed with a different
product id (0x0018). no idea why.

-- 
Aristeu

--- linux-2.6.5/drivers/net/sis900.c.old	2004-05-11 21:50:35.000000000 -0300
+++ linux-2.6.5/drivers/net/sis900.c	2004-05-11 21:51:38.000000000 -0300
@@ -260,7 +260,8 @@ static int __devinit sis630e_get_mac_add
 	u8 reg;
 	int i;
 
-	if ((isa_bridge = pci_find_device(0x1039, 0x0008, isa_bridge)) == NULL) {
+	if ((isa_bridge = pci_find_device(0x1039, 0x0008, isa_bridge)) == NULL &&
+		(isa_bridge = pci_find_device(0x1039, 0x0018, isa_bridge)) == NULL) {
 		printk("%s: Can not find ISA bridge\n", net_dev->name);
 		return 0;
 	}
\
 
 \ /
  Last update: 2005-03-22 13:03    [from the cache]
©2003-2008