eeepc-laptop: Implement rfkill hotplugging in eeepc-laptop
commit5740294ca3a9b113fe146f2826effb69ca50008d
authorMatthew Garrett <mjg@redhat.com>
Tue, 20 Jan 2009 15:17:48 +0000 (20 16:17 +0100)
committerLen Brown <len.brown@intel.com>
Tue, 20 Jan 2009 19:36:53 +0000 (20 14:36 -0500)
tree00e571fce1111310ef4e12801a657aeaf80ae77f
parentc9ddf8fede1271bde0a512fa94f77c4cb1ef4040
eeepc-laptop: Implement rfkill hotplugging in eeepc-laptop

The Eee implements rfkill by logically unplugging the wireless card from the
PCI bus. Despite sending ACPI notifications, this does not appear to be
implemented using standard ACPI hotplug - nor does the firmware provide the
_OSC method required to support native PCIe hotplug. The only sensible choice
appears to be to handle the hotplugging directly in the eeepc-laptop driver.
Tested successfully on a 700, 900 and 901.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/eeepc-laptop.c