diff options
author | matthieu castet <castet.matthieu@free.fr> | 2006-01-06 01:31:00 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-01-07 05:17:54 -0500 |
commit | c4bb6f5ad968540d7f9619565bacd18d7419b85f (patch) | |
tree | 940d809f37deb0cf062466726d193be7e1364f3f /drivers/pnp/pnpacpi | |
parent | 07b0120d53a3e7cbc88458a64a4d668fc416100f (diff) |
[PNPACPI] clean excluded_id_list[]
Clean the blacklist. Battery, Button, Fan have no _CRS
and can be removed. PCI root is in pnpbios and is harmless.
Cc: Adam Belay <ambx1@neo.rr.com>
Cc: "Li, Shaohua" <shaohua.li@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/pnp/pnpacpi')
-rw-r--r-- | drivers/pnp/pnpacpi/core.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/drivers/pnp/pnpacpi/core.c b/drivers/pnp/pnpacpi/core.c index e77d1feb759e..f104577f73e0 100644 --- a/drivers/pnp/pnpacpi/core.c +++ b/drivers/pnp/pnpacpi/core.c | |||
@@ -27,12 +27,15 @@ | |||
27 | 27 | ||
28 | static int num = 0; | 28 | static int num = 0; |
29 | 29 | ||
30 | /* We need only to blacklist devices that have already an acpi driver that | ||
31 | * can't use pnp layer. We don't need to blacklist device that are directly | ||
32 | * used by the kernel (PCI root, ...), as it is harmless and there were | ||
33 | * already present in pnpbios. But there is an exception for devices that | ||
34 | * have irqs (PIC, Timer) because we call acpi_register_gsi. | ||
35 | * Finaly only devices that have a CRS method need to be in this list. | ||
36 | */ | ||
30 | static char __initdata excluded_id_list[] = | 37 | static char __initdata excluded_id_list[] = |
31 | "PNP0C0A," /* Battery */ | ||
32 | "PNP0C0C,PNP0C0E,PNP0C0D," /* Button */ | ||
33 | "PNP0C09," /* EC */ | 38 | "PNP0C09," /* EC */ |
34 | "PNP0C0B," /* Fan */ | ||
35 | "PNP0A03," /* PCI root */ | ||
36 | "PNP0C0F," /* Link device */ | 39 | "PNP0C0F," /* Link device */ |
37 | "PNP0000," /* PIC */ | 40 | "PNP0000," /* PIC */ |
38 | "PNP0100," /* Timer */ | 41 | "PNP0100," /* Timer */ |