From: Chuck Ebbert <76306.1226@compuserve.com>
To: Pierfrancesco Caci <pf@tippete.net>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: booting 2.5.68 with root on software raid and devfs?
Date: Mon, 21 Apr 2003 20:12:07 -0400 [thread overview]
Message-ID: <200304212014_MC3-1-355B-2825@compuserve.com> (raw)
> I have the suspect that something in the naming of devices has
> changed, but I can't find any reference by googling around.
Try this:
--- linux-2.5.66-ref/drivers/pci/bus.c Sat Mar 29 09:16:22 2003
+++ linux-2.5.66-uni/drivers/pci/bus.c Fri Apr 18 19:08:04 2003
@ -75,7 +75,8 @
* Add newly discovered PCI devices (which are on the bus->devices
* list) to the global PCI device list, add the sysfs and procfs
* entries. Where a bridge is found, add the discovered bus to
- * the parents list of child buses, and recurse.
+ * the parents list of child buses, and recurse (breadth-first
+ * to be compatible with 2.4)
*
* Call hotplug for each new devices.
*/
@ -98,6 +99,12 @
#endif
pci_create_sysfs_dev_files(dev);
+ }
+
+ list_for_each_entry(dev, &bus->devices, bus_list) {
+
+ BUG_ON(list_empty(&dev->global_list));
+
/*
* If there is an unattached subordinate bus, attach
* it and then scan for unattached PCI devices.
------
Chuck
next reply other threads:[~2003-04-22 0:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-22 0:12 Chuck Ebbert [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-04-22 11:57 Chuck Ebbert
2003-04-21 14:05 Pierfrancesco Caci
2003-04-21 14:30 ` Christoph Hellwig
2003-04-21 15:04 ` Pierfrancesco Caci
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=200304212014_MC3-1-355B-2825@compuserve.com \
--to=76306.1226@compuserve.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pf@tippete.net \
/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®