Re: problem with sis900 driver 2.6.5 +

From: Aristeu Sergio Rozanski Filho
Date: Tue May 11 2004 - 20:00:40 EST


> 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;
}