[PATCH] sis900

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux