From: Rasmus Andersen <rasmus@jaquet.dk>
To: groudier@club-internet.fr
Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: [PATCH] make sym53c8xx.c and ncr53c8xx.c call pci_enable_device (241p11)
Date: Mon, 29 Jan 2001 23:00:41 +0100 [thread overview]
Message-ID: <20010129230041.N603@jaquet.dk> (raw)
Hi.
The following patch makes drivers/scsi/sym53c8xx.c and (by way of
sym53c8xx_comm.h::sym53c8xx__detect) ncr53c8xx.c do a
pci_enable_device after finding a device.
It applies against ac12 and 241p11.
Comments?
--- linux-ac11-clean/drivers/scsi/sym53c8xx.c Mon Jan 1 19:23:21 2001
+++ linux-ac11/drivers/scsi/sym53c8xx.c Thu Jan 25 23:12:06 2001
@@ -13294,6 +13294,8 @@
++j;
continue;
}
+ if (pci_enable_device(pcidev))
+ continue;
/* Some HW as the HP LH4 may report twice PCI devices */
for (i = 0; i < count ; i++) {
if (devtbl[i].slot.bus == PciBusNumber(pcidev) &&
--- linux-ac11-clean/drivers/scsi/sym53c8xx_comm.h Mon Oct 16 21:56:50 2000
+++ linux-ac11/drivers/scsi/sym53c8xx_comm.h Fri Jan 26 22:54:19 2001
@@ -2754,6 +2754,8 @@
++j;
continue;
}
+ if (pci_enable_device(pcidev))
+ continue;
/* Some HW as the HP LH4 may report twice PCI devices */
for (i = 0; i < count ; i++) {
if (devtbl[i].slot.bus == PciBusNumber(pcidev) &&
--
Regards,
Rasmus(rasmus@jaquet.dk)
When C++ is your hammer, everything looks like a thumb. Steven M. Haflich
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next reply other threads:[~2001-01-29 22:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-29 22:00 Rasmus Andersen [this message]
2001-01-29 21:50 ` [PATCH] make sym53c8xx.c and ncr53c8xx.c call pci_enable_device (241p11) Gérard Roudier
2001-01-31 18:58 ` [PATCH] make sym53c8xx.c and ncr53c8xx.c call pci_enable_device Alan Cox
2001-01-31 19:56 ` Gérard Roudier
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=20010129230041.N603@jaquet.dk \
--to=rasmus@jaquet.dk \
--cc=groudier@club-internet.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@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