diff options
author | Daniel Drake <dsd@laptop.org> | 2010-10-05 16:55:21 +0200 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2010-10-21 16:10:44 +0200 |
commit | 260586d2b444909380137de6c6423e5b44edf4db (patch) | |
tree | 612411c307af79ff2bc1f1545b76c1ad5a8c9dc8 /arch/x86/include/asm/olpc.h | |
parent | Move hdaps driver to platform/x86 (diff) | |
download | linux-260586d2b444909380137de6c6423e5b44edf4db.tar.xz linux-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/asm/olpc.h')
-rw-r--r-- | arch/x86/include/asm/olpc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/olpc.h b/arch/x86/include/asm/olpc.h index 101229b0d8ed..42a978c0c1b3 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 */ |