[PATCH] sis900

From: Angelo Dell'Aera (buffer@antifork.org)
Date: Fri Sep 19 2003 - 12:12:24 EST



Regards,

Angelo


--- linux-2.6.0-test5/drivers/net/sis900.c.old 2003-09-19 18:58:45.000000000 +0200
+++ linux-2.6.0-test5/drivers/net/sis900.c 2003-09-19 18:59:15.000000000 +0200
@@ -259,7 +259,7 @@
u8 reg;
int i;

- if ((isa_bridge = pci_find_device(0x1039, 0x0008, isa_bridge)) == NULL) {
+ if ((isa_bridge = pci_get_device(0x1039, 0x0008, isa_bridge)) == NULL) {
printk("%s: Can not find ISA bridge\n", net_dev->name);
return 0;
}
@@ -478,7 +478,7 @@
}

/* save our host bridge revision */
- dev = pci_find_device(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_630, NULL);
+ dev = pci_get_device(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_630, NULL);
if (dev)
pci_read_config_byte(dev, PCI_CLASS_REVISION, &sis_priv->host_bridge_rev);




-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html