lkml.org 
[lkml]   [1999]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.3.18ac8 doesn't detect tulip (again!)
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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.026 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site