summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/spif.c
diff options
context:
space:
mode:
authorThomas Nordin <nordin@cvs.openbsd.org>2002-01-30 20:45:36 +0000
committerThomas Nordin <nordin@cvs.openbsd.org>2002-01-30 20:45:36 +0000
commitf4ca009318dd00a3457741ce99764a6ba3d19a3e (patch)
treeebb8dedcc23a899dc0a07324baf6ec4ce4ad4be4 /sys/arch/sparc/dev/spif.c
parenta9a53aa7b56a80647eeb095733a5239751dbf725 (diff)
Move SET/CLR/ISSET macros to param.h. fgsch@ and millert@ ok
Diffstat (limited to 'sys/arch/sparc/dev/spif.c')
-rw-r--r--sys/arch/sparc/dev/spif.c9
1 files changed, 1 insertions, 8 deletions
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 *));