2.3.18ac8 doesn't detect tulip (again!)

Thomas Molina (tmolina@home.com)
Wed, 22 Sep 1999 09:17:31 -0500 (CDT)


The following fixes it for me. Does this look right Alan?

--- linux/drivers/pci/scan.c.old Wed Sep 22 09:05:32 1999
+++ linux/drivers/pci/scan.c Wed Sep 22 09:06:25 1999
@@ -97,8 +97,8 @@
int free = 0;

pci_id = (pdev->device << 16) | pdev->vendor;
- pci_subsys_id = (pdev->subsystem_device << 16) |
- pdev->subsystem_vendor;
+ pci_subsys_id = (pdev->subsystem_vendor << 16) |
+ pdev->subsystem_device;
pci_read_config_byte (pdev, PCI_REVISION_ID, &pci_rev);

for (chip_idx = 0; pci_tbl[chip_idx].name; chip_idx++) {

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/