mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] minor PCI fixup
@ 2001-04-10 23:29 Andreas Dilger
  0 siblings, 0 replies; only message in thread
From: Andreas Dilger @ 2001-04-10 23:29 UTC (permalink / raw)
  To: Linux kernel development list

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
============================================================================
diff -ru linux.orig/drivers/scsi/atp870u.c linux/drivers/scsi/atp870u.c
--- linux.orig/drivers/scsi/atp870u.c	Sat Nov 11 20:01:11 2000
+++ linux/drivers/scsi/atp870u.c	Wed Mar  7 12:58:10 2001
@@ -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;
-- 
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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-04-10 23:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-10 23:29 [PATCH] minor PCI fixup Andreas Dilger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®