From: Andreas Dilger <adilger@turbolinux.com>
To: Linux kernel development list <linux-kernel@vger.kernel.org>
Subject: [PATCH] minor PCI fixup
Date: Tue, 10 Apr 2001 17:29:22 -0600 (MDT) [thread overview]
Message-ID: <200104102329.f3ANTMCb000474@webber.adilger.int> (raw)
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
reply other threads:[~2001-04-10 23:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200104102329.f3ANTMCb000474@webber.adilger.int \
--to=adilger@turbolinux.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®