PNPACPI: clean blacklist
Subsystems (2)
PATCH 7/9 PNPACPI: clean blacklist
From: matthieu castet <[email protected]>
Clean the blacklist. Battery, Button, Fan don't have a CRS and should be removed. PCI root is in pnpbios and is harmless.
Cc "Brown, Len" <[email protected]>
Cc Adam Belay <ambx1-IBH0VoN/[email protected]>
Cc "Li, Shaohua" <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/pnp/pnpacpi/core.c | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-)
drivers/pnp/pnpacpi/core.c renamed from drivers/pnp/pnpacpi/core.c~pnpacpi-clean-blacklist +7 -4
@@ -27,12 +27,15 @@static int num =0 ; +/* We need only to blacklist devices that have already an acpi driver that +* can't use pnp layer. We don't need to blacklist device that are directly +* used by the kernel (PCI root, ...), as it is harmless and there were +* already present in pnpbios. But there is an exception for devices that +* have irqs (PIC, Timer) because we call acpi_register_gsi. +* Finaly only devices that have a CRS method need to be in this list. +*/ static char __initdata excluded_id_list[] = -"PNP0C0A," /* Battery */ -"PNP0C0C,PNP0C0E,PNP0C0D," /* Button */ "PNP0C09," /* EC */ -"PNP0C0B," /* Fan */ -"PNP0A03," /* PCI root */ "PNP0C0F," /* Link device */ "PNP0000," /* PIC */ "PNP0100," /* Timer */
_
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html