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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <gregkh@...>
Cc: <linux-kernel@...>
Date: Thursday, September 13, 2007 - 2:21 pm

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

Signed-off-by: Juha Laiho <Juha.Laiho@iki.fi>
---

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"),
+		},
+	},
 	{}
 };
 

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] i386: Compaq EVO N800c needs PCI bus renumbering, Juha Laiho, (Thu Sep 13, 2:21 pm)