diff options
| author | Stelian Pop <stelian@popies.net> | 2003-08-31 00:01:15 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-08-31 00:01:15 -0700 |
| commit | 7c2a1fdf1ff85cbfb0a057f78a95e7bf147f73c1 (patch) | |
| tree | 000234fcb0b45fed65e31096587317c4e9065113 /include/linux | |
| parent | c334ec3406bd4e366a4138570332d4e19fa70128 (diff) | |
[PATCH] sonypi driver update
This updates the sonypi driver to the latest version:
* document the fact that FX501/FX702 laptops are not supported
* add battery insert/remove events (thanks to Daniel K.)
* improve the event detection using a different port offset
on 'type2' models (thanks to Daniel K.)
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sonypi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sonypi.h b/include/linux/sonypi.h index d9ac90a87712..1ad9711e6aa2 100644 --- a/include/linux/sonypi.h +++ b/include/linux/sonypi.h @@ -94,6 +94,8 @@ #define SONYPI_EVENT_MEMORYSTICK_INSERT 54 #define SONYPI_EVENT_MEMORYSTICK_EJECT 55 #define SONYPI_EVENT_ANYBUTTON_RELEASED 56 +#define SONYPI_EVENT_BATTERY_INSERT 57 +#define SONYPI_EVENT_BATTERY_REMOVE 58 /* get/set brightness */ #define SONYPI_IOCGBRT _IOR('v', 0, __u8) |
