diff options
Diffstat (limited to 'sys/arch/i386/isa/icu.h')
-rw-r--r-- | sys/arch/i386/isa/icu.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/sys/arch/i386/isa/icu.h b/sys/arch/i386/isa/icu.h index d9a7e144d28..b2cc5068c34 100644 --- a/sys/arch/i386/isa/icu.h +++ b/sys/arch/i386/isa/icu.h @@ -1,4 +1,4 @@ -/* $NetBSD: icu.h,v 1.17 1994/11/04 19:13:49 mycroft Exp $ */ +/* $NetBSD: icu.h,v 1.18 1996/01/07 02:03:20 mycroft Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -53,19 +53,7 @@ */ extern unsigned imen; /* interrupt mask enable */ -#define INTRUNMASK(msk,s) (msk &= ~(s)) -#define INTREN(s) (INTRUNMASK(imen, s), SET_ICUS()) -#define INTRMASK(msk,s) (msk |= (s)) -#define INTRDIS(s) (INTRMASK(imen, s), SET_ICUS()) -#if 0 -#define SET_ICUS() (outb(IO_ICU1 + 1, imen), outb(IU_ICU2 + 1, imen >> 8)) -#else -/* - * XXX - IO_ICU* are defined in isa.h, not icu.h, and nothing much bothers to - * include isa.h, while too many things include icu.h. - */ -#define SET_ICUS() (outb(0x21, imen), outb(0xa1, imen >> 8)) -#endif +#define SET_ICUS() (outb(IO_ICU1 + 1, imen), outb(IO_ICU2 + 1, imen >> 8)) #endif /* !LOCORE */ |