diff options
Diffstat (limited to 'sys/arch/sparc/dev')
-rw-r--r-- | sys/arch/sparc/dev/magmareg.h | 9 | ||||
-rw-r--r-- | sys/arch/sparc/dev/spif.c | 9 | ||||
-rw-r--r-- | sys/arch/sparc/dev/zs.c | 7 |
3 files changed, 3 insertions, 22 deletions
diff --git a/sys/arch/sparc/dev/magmareg.h b/sys/arch/sparc/dev/magmareg.h index bf6280b47a9..a85598cfc6f 100644 --- a/sys/arch/sparc/dev/magmareg.h +++ b/sys/arch/sparc/dev/magmareg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: magmareg.h,v 1.5 2002/01/25 02:37:43 jason Exp $ */ +/* $OpenBSD: magmareg.h,v 1.6 2002/01/30 20:45:34 nordin Exp $ */ /* magmareg.h * @@ -193,13 +193,6 @@ struct mbpp_softc { struct mbpp_port ms_port[MAGMA_MAX_BPP]; }; -/* - * useful macros - */ -#define SET(t, f) ((t) |= (f)) -#define CLR(t, f) ((t) &= ~(f)) -#define ISSET(t, f) ((t) & (f)) - /* internal function prototypes */ int cd1400_compute_baud __P((speed_t, int, int *, int *)); diff --git a/sys/arch/sparc/dev/spif.c b/sys/arch/sparc/dev/spif.c index 9e336e59e4b..7af04e8bef4 100644 --- a/sys/arch/sparc/dev/spif.c +++ b/sys/arch/sparc/dev/spif.c @@ -1,4 +1,4 @@ -/* $OpenBSD: spif.c,v 1.8 2001/10/05 15:50:30 jason Exp $ */ +/* $OpenBSD: spif.c,v 1.9 2002/01/30 20:45:34 nordin Exp $ */ /* * Copyright (c) 1999 Jason L. Wright (jason@thought.net) @@ -68,13 +68,6 @@ # error "no suitable software interrupt bit" #endif -/* - * useful macros - */ -#define SET(t, f) ((t) |= (f)) -#define CLR(t, f) ((t) &= ~(f)) -#define ISSET(t, f) ((t) & (f)) - int spifmatch __P((struct device *, void *, void *)); void spifattach __P((struct device *, struct device *, void *)); diff --git a/sys/arch/sparc/dev/zs.c b/sys/arch/sparc/dev/zs.c index 20d19d6c7d0..73fa2e28b5e 100644 --- a/sys/arch/sparc/dev/zs.c +++ b/sys/arch/sparc/dev/zs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: zs.c,v 1.30 2002/01/10 00:06:17 nordin Exp $ */ +/* $OpenBSD: zs.c,v 1.31 2002/01/30 20:45:34 nordin Exp $ */ /* $NetBSD: zs.c,v 1.49 1997/08/31 21:26:37 pk Exp $ */ /* @@ -91,11 +91,6 @@ #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)) - #define ZSMAJOR 12 /* XXX */ #define ZS_KBD 2 /* XXX */ |