From: Rasmus Andersen <rasmus@jaquet.dk>
To: ballabio_dario@emc.com
Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: [uPATCH] make drivers/scsi/eata.c call pci_enable_device before rs. probing (241p11)
Date: Mon, 29 Jan 2001 22:53:57 +0100 [thread overview]
Message-ID: <20010129225357.K603@jaquet.dk> (raw)
Hi.
The following patch makes drivers/scsi/eata.c wait with probing
pci resources until we have called pci_enable_device. This is recommended
due to hot-plug considerations (according to Jeff Garzik).
It applies against ac12 and 241p11.
Comments?
--- linux-ac12-clean/drivers/scsi/eata.c Tue Nov 28 02:49:00 2000
+++ linux-ac12/drivers/scsi/eata.c Sat Jan 27 21:24:20 2001
@@ -835,9 +835,9 @@
if (!(dev = pci_find_class(PCI_CLASS_STORAGE_SCSI << 8, dev))) break;
- addr = pci_resource_start (dev, 0);
-
if (pci_enable_device (dev)) continue;
+
+ addr = pci_resource_start (dev, 0);
#if defined(DEBUG_PCI_DETECT)
printk("%s: tune_pci_port, bus %d, devfn 0x%x, addr 0x%x.\n",
--
Regards,
Rasmus(rasmus@jaquet.dk)
While the Melissa license is a bit unclear, Melissa aggressively
encourages free distribution of its source code.
-- Kevin Dalley on Melissa being Open Source
-
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/
reply other threads:[~2001-01-29 21:54 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=20010129225357.K603@jaquet.dk \
--to=rasmus@jaquet.dk \
--cc=ballabio_dario@emc.com \
--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