[PATCH] i386: Compaq EVO N800c needs PCI bus renumbering

From: Juha Laiho
Date: Thu Sep 13 2007 - 15:30:54 EST


Force PCI bus renumbering for Compaq EVO N800c laptop, in order to get
the cardbus slot recognised.

Signed-off-by: Juha Laiho <Juha.Laiho@xxxxxx>
---

Please note that I'm not subscribed to linux-kernel, so please cc any
comments to my personal email.

The diff was done against version 2.6.22.6.


diff -upN arch/i386/pci/common.c.orig arch/i386/pci/common.c
--- arch/i386/pci/common.c.orig 2007-09-13 20:51:08.000000000 +0300
+++ arch/i386/pci/common.c 2007-07-17 12:09:53.000000000 +0300
@@ -287,6 +287,14 @@ static struct dmi_system_id __devinitdat
DMI_MATCH(DMI_PRODUCT_NAME, "ProLiant BL685c G1"),
},
},
+ {
+ .callback = assign_all_busses,
+ .ident = "Compaq EVO N800c",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Compaq"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "EVO N800c"),
+ },
+ },
{}
};


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/