eeepc-wmi: add hotplug code for Eeepc 1000H
authorCorentin Chary <corentincj@iksaif.net>
Sun, 6 Feb 2011 12:28:28 +0000 (13:28 +0100)
committerMatthew Garrett <mjg@redhat.com>
Mon, 28 Mar 2011 10:05:15 +0000 (06:05 -0400)
commitafa7c886578ce264d9b66d4bcb1fea51fac47925
tree5e56ab329d992d2651588b3d97996d30cdaf88b3
parentbc40cce201b69ab25178565e298d9482a5876306
eeepc-wmi: add hotplug code for Eeepc 1000H

Implement wireless like hotplug handling (code stolen from eeepc-laptop).

Reminder: on some models rfkill is implemented 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 platform driver.

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/eeepc-wmi.c