diff options
author | Thomas Nordin <nordin@cvs.openbsd.org> | 2002-01-30 20:45:36 +0000 |
---|---|---|
committer | Thomas Nordin <nordin@cvs.openbsd.org> | 2002-01-30 20:45:36 +0000 |
commit | f4ca009318dd00a3457741ce99764a6ba3d19a3e (patch) | |
tree | ebb8dedcc23a899dc0a07324baf6ec4ce4ad4be4 /sys/arch/i386/isa/pccom.c | |
parent | a9a53aa7b56a80647eeb095733a5239751dbf725 (diff) |
Move SET/CLR/ISSET macros to param.h. fgsch@ and millert@ ok
Diffstat (limited to 'sys/arch/i386/isa/pccom.c')
-rw-r--r-- | sys/arch/i386/isa/pccom.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/i386/isa/pccom.c b/sys/arch/i386/isa/pccom.c index 670ba4697d2..c67edf3d455 100644 --- a/sys/arch/i386/isa/pccom.c +++ b/sys/arch/i386/isa/pccom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pccom.c,v 1.40 2001/08/08 19:07:17 mickey Exp $ */ +/* $OpenBSD: pccom.c,v 1.41 2002/01/30 20:45:34 nordin Exp $ */ /* $NetBSD: com.c,v 1.82.4.1 1996/06/02 09:08:00 mrg Exp $ */ /* @@ -178,11 +178,6 @@ void com_kgdb_putc __P((void *, int)); #define DEVUNIT(x) (minor(x) & 0x7f) #define DEVCUA(x) (minor(x) & 0x80) -/* Macros to clear/set/test flags. */ -#define SET(t, f) (t) |= (f) -#define CLR(t, f) (t) &= ~(f) -#define ISSET(t, f) ((t) & (f)) - /* Macros for determining bus type. */ #if NPCCOM_ISA || NPCCOM_PCMCIA #define IS_ISA(parent) \ |