From: Tim Hockin <thockin@sun.com>
To: andrew.grover@intel.com
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH] Add defines for ACPI general events
Date: Mon, 15 Oct 2001 18:46:48 -0700 [thread overview]
Message-ID: <3BCB9188.EB25C198@sun.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 248 bytes --]
Andy,
A simple patch - add 8 defines for 8 GEVENTs. Please apply for the next
round. Let me know if there is any reason you can't apply it.
Tim
--
Tim Hockin
Systems Software Engineer
Sun Microsystems, Cobalt Server Appliances
thockin@sun.com
[-- Attachment #2: acpi-gevents.diff --]
[-- Type: text/plain, Size: 655 bytes --]
diff -ruN dist-2.4.12+patches/include/linux/acpi.h cvs-2.4.12+patches/include/linux/acpi.h
--- dist-2.4.12+patches/include/linux/acpi.h Mon Oct 15 10:23:40 2001
+++ cvs-2.4.12+patches/include/linux/acpi.h Mon Oct 15 10:23:40 2001
@@ -80,6 +80,16 @@
#define ACPI_SLP_TYP2 0x1000
#define ACPI_SLP_EN 0x2000
+/* GPE0/1 general event flags */
+#define ACPI_GEVENT0 0x0001
+#define ACPI_GEVENT1 0x0002
+#define ACPI_GEVENT2 0x0004
+#define ACPI_GEVENT3 0x0008
+#define ACPI_GEVENT4 0x0010
+#define ACPI_GEVENT5 0x0020
+#define ACPI_GEVENT6 0x0040
+#define ACPI_GEVENT7 0x0080
+
#define ACPI_SLP_TYP_MASK 0x1c00
#define ACPI_SLP_TYP_SHIFT 10
reply other threads:[~2001-10-16 1:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3BCB9188.EB25C198@sun.com \
--to=thockin@sun.com \
--cc=andrew.grover@intel.com \
--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.