Skip to contentSkip to conversation

minor PCI fixup

PATCH New Andreas Dilger 1 participant 1 message Apr 10, 2001 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 minor PCI fixup

Attached is a very minor patch that is in my tree (I don't even remember why I was in there) which uses the defined PCI vendor ID instead of a number.

Cheers, Andreas
============================================================================

drivers/scsi/atp870u.c +1 -1
diff -ru linux.orig/drivers/scsi/atp870u.c linux/drivers/scsi/atp870u.c
@@ -1668,7 +1668,7 @@
        }
        h = 0;
        while (devid[h] != 0) {
-               pdev[2] = pci_find_device(0x1191, devid[h], pdev[2]);
+               pdev[2] = pci_find_device(PCI_VENDOR_ID_ARTOP,devid[h],pdev[2]);
 		if (pdev[2] == NULL || pci_enable_device(pdev[2])) {
 			h++;
 			index = 0;
Signature · 3 lines
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert