summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/i8k.h
diff options
context:
space:
mode:
authorGuenter Roeck2014-06-21 17:08:11 +0200
committerGreg Kroah-Hartman2014-07-10 01:41:36 +0200
commitd5d222605503dd39513b3baeb9475ddf316511d7 (patch)
treeed760291115e53979c1e5fbd9de9a15aad5bc1c9 /include/uapi/linux/i8k.h
parenti8k: Add support for configurable maximum fan speed value (diff)
downloadkernel-qcow2-linux-d5d222605503dd39513b3baeb9475ddf316511d7.tar.gz
kernel-qcow2-linux-d5d222605503dd39513b3baeb9475ddf316511d7.tar.xz
kernel-qcow2-linux-d5d222605503dd39513b3baeb9475ddf316511d7.zip
i8k: uapi: Introduce define for new highest fan speed
Some Dell laptops support fan speeds of {0, 1, 2, 3} instead of {0, 1, 2}. Add a define for it. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Cc: Andreas Mohr <andi@lisas.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux/i8k.h')
-rw-r--r--include/uapi/linux/i8k.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/i8k.h b/include/uapi/linux/i8k.h
index 1c45ba505115..133d02f03c25 100644
--- a/include/uapi/linux/i8k.h
+++ b/include/uapi/linux/i8k.h
@@ -34,7 +34,8 @@
#define I8K_FAN_OFF 0
#define I8K_FAN_LOW 1
#define I8K_FAN_HIGH 2
-#define I8K_FAN_MAX I8K_FAN_HIGH
+#define I8K_FAN_TURBO 3
+#define I8K_FAN_MAX I8K_FAN_TURBO
#define I8K_VOL_UP 1
#define I8K_VOL_DOWN 2