summaryrefslogtreecommitdiff
path: root/arch/x86/include
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2010-10-05 15:55:21 +0100
committerMatthew Garrett <mjg@redhat.com>2010-10-21 10:10:44 -0400
commit260586d2b444909380137de6c6423e5b44edf4db (patch)
tree612411c307af79ff2bc1f1545b76c1ad5a8c9dc8 /arch/x86/include
parentbd9fc3a72345807683a009c1e19dc0d517f0f4e7 (diff)
downloadlinux-3.10-260586d2b444909380137de6c6423e5b44edf4db.tar.gz
linux-3.10-260586d2b444909380137de6c6423e5b44edf4db.tar.bz2
linux-3.10-260586d2b444909380137de6c6423e5b44edf4db.zip
Add OLPC XO-1 rfkill driver
Add a software rfkill switch for the WLAN interface in the OLPC XO-1 laptop. It uses the OLPC embedded controller to cut/restore power to the Marvell WLAN chip on the motherboard. Signed-off-by: Daniel Drake <dsd@laptop.org> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/olpc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/olpc.h b/arch/x86/include/asm/olpc.h
index 101229b0d8e..42a978c0c1b 100644
--- a/arch/x86/include/asm/olpc.h
+++ b/arch/x86/include/asm/olpc.h
@@ -89,6 +89,8 @@ extern int olpc_ec_mask_unset(uint8_t bits);
/* EC commands */
#define EC_FIRMWARE_REV 0x08
+#define EC_WLAN_ENTER_RESET 0x35
+#define EC_WLAN_LEAVE_RESET 0x25
/* SCI source values */