PCI/ACPI: acpiphp: Identify more removable slots
commit56ee325e25a0f76fc3267872867b3d70af179aad
authorMatthew Garrett <mjg59@srcf.ucam.org>
Tue, 25 Nov 2008 21:48:14 +0000 (25 21:48 +0000)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 19:12:36 +0000 (7 11:12 -0800)
treec1e840d33d1a1b315e312395b1a674380db91019
parent86d8698027fd30cc067d2aeeb1e3603d43c83df0
PCI/ACPI:  acpiphp: Identify more removable slots

According to section 6.3.6 of the ACPI spec, the presence of an _RMV
method that evaluates to 1 is sufficient to indicate that a slot is
removable without needing an eject method. This patch refactors the
ejectable slot detection code a little in order to flag these slots as
ejectable and register them. Acpihp then binds to the expresscard slot
on my HP test machine.

Acked-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/hotplug/acpiphp_glue.c