aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/isa/icu.h
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1994-10-01 02:56:21 +0000
committerDavid Greenman <dg@FreeBSD.org>1994-10-01 02:56:21 +0000
commit22414e535af32f5550d25c6409b5dae1cfc43ad0 (patch)
treecae0fc2309e6ae1169ee8bdcf42212d2f39fb3ea /sys/amd64/isa/icu.h
parent7f4295e33795e2c758fe46c2b2291df1c683d844 (diff)
Laptop Advanced Power Management support by HOSOKAWA Tatsumi.
Submitted by: HOSOKAWA Tatsumi
Notes
Notes: svn path=/head/; revision=3258
Diffstat (limited to 'sys/amd64/isa/icu.h')
-rw-r--r--sys/amd64/isa/icu.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/amd64/isa/icu.h b/sys/amd64/isa/icu.h
index 5cecf65b8f07..a68269b0801a 100644
--- a/sys/amd64/isa/icu.h
+++ b/sys/amd64/isa/icu.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)icu.h 5.6 (Berkeley) 5/9/91
- * $Id: icu.h,v 1.5 1994/09/18 23:08:56 bde Exp $
+ * $Id: icu.h,v 1.6 1994/09/18 23:18:32 bde Exp $
*/
/*
@@ -52,9 +52,10 @@
*/
extern unsigned imen; /* interrupt mask enable */
-#define INTREN(s) (imen &= ~(s), SET_ICUS())
-#define INTRDIS(s) (imen |= (s), SET_ICUS())
-#define INTRMASK(msk,s) (msk |= (s))
+#define INTREN(s) (imen &= ~(s), SET_ICUS())
+#define INTRDIS(s) (imen |= (s), SET_ICUS())
+#define INTRMASK(msk,s) (msk |= (s))
+#define INTRUNMASK(msk,s) (msk &= ~(s))
#if 0
#define SET_ICUS() (outb(IO_ICU1 + 1, imen), outb(IU_ICU2 + 1, imen >> 8))
#else