[PATCH] pci: use pci=bfsort for HP DL385 G2, DL585 G2

Previous thread: [PATCH] sound: snd_register_device_for_dev fix by Mariusz Kozlowski on Thursday, September 27, 2007 - 3:54 am. (1 message)

Next thread: 2.6.23-rc8-mm2 by Andrew Morton on Thursday, September 27, 2007 - 5:22 am. (56 messages)
To: <linux-kernel@...>
Cc: <john.cagle@...>, Matt Domsch <Matt_Domsch@...>, Andy Gospodarek <andy@...>
Date: Thursday, September 27, 2007 - 5:18 am

Hello,

HP ProLiant systems DL385 G2 and DL585 G2 need pci=bfsort to enumerate PCI
devices in the expected order.

(John, can you please confirm and ACK this?)

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>

diff --git a/arch/i386/pci/common.c b/arch/i386/pci/common.c
index ebc6f3c..8737c53 100644
--- a/arch/i386/pci/common.c
+++ b/arch/i386/pci/common.c
@@ -287,6 +287,22 @@ static struct dmi_system_id __devinitdata pciprobe_dmi_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "ProLiant BL685c G1"),
},
},
+ {
+ .callback = set_bf_sort,
+ .ident = "HP ProLiant DL385 G2",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "HP"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "ProLiant DL385 G2"),
+ },
+ },
+ {
+ .callback = set_bf_sort,
+ .ident = "HP ProLiant DL585 G2",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "HP"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "ProLiant DL585 G2"),
+ },
+ },
{}
};

-

To: Michal Schmidt <mschmidt@...>
Cc: <linux-kernel@...>, <john.cagle@...>, Andy Gospodarek <andy@...>
Date: Thursday, September 27, 2007 - 8:43 pm

As a shameless plug, biosdevname is a userspace app I wrote to help
solve this so we don't need to patch the kernel for future systems.
It's not integrated into any distributions properly yet, but is
included in openSUSE 10.3 and Fedora 8 for people who want to download
and install it there. It acts as a udev helper.

For the time being, patching the kernel is necessary. I really hope
biosdevname eliminates that need in future distributions.

http://linux.dell.com/biosdevname/

Thanks,
Matt

--
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux
-

Previous thread: [PATCH] sound: snd_register_device_for_dev fix by Mariusz Kozlowski on Thursday, September 27, 2007 - 3:54 am. (1 message)

Next thread: 2.6.23-rc8-mm2 by Andrew Morton on Thursday, September 27, 2007 - 5:22 am. (56 messages)