From: Guenter Roeck <linux@roeck-us.net>
To: linux-kernel@vger.kernel.org
Cc: linux-api@vger.kernel.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Arnd Bergmann <arnd@arndb.de>, Guenter Roeck <linux@roeck-us.net>
Subject: [PATCH 4/5] i8k: uapi: Introduce define for new highest fan speed
Date: Sat, 21 Jun 2014 08:08:11 -0700 [thread overview]
Message-ID: <1403363304-22358-4-git-send-email-linux@roeck-us.net> (raw)
In-Reply-To: <1403363304-22358-1-git-send-email-linux@roeck-us.net>
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>
---
include/uapi/linux/i8k.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/uapi/linux/i8k.h b/include/uapi/linux/i8k.h
index 1c45ba5..133d02f 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
--
1.9.1
next prev parent reply other threads:[~2014-06-21 15:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-21 15:08 [PATCH 1/5] i8k: Fix non-SMP operation Guenter Roeck
2014-06-21 15:08 ` Guenter Roeck
2014-06-21 15:08 ` [PATCH 2/5] i8k: Drop all labels Guenter Roeck
2014-06-21 15:08 ` [PATCH 3/5] i8k: Add support for configurable maximum fan speed value Guenter Roeck
2014-06-21 15:08 ` Guenter Roeck [this message]
2014-06-21 15:08 ` [PATCH 5/5] i8k: Add support for Dell Precision 490 and Latitude D520 Guenter Roeck
2014-06-21 15:08 ` Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1403363304-22358-4-git-send-email-linux@roeck-us.net \
--to=linux@roeck-us.net \
--cc=arnd@arndb.de \
--cc=gregkh@linuxfoundation.org \
--cc=linux-api@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.