summaryrefslogtreecommitdiff
path: root/sys/arch/amiga/dev
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/amiga/dev
parenta9a53aa7b56a80647eeb095733a5239751dbf725 (diff)
Move SET/CLR/ISSET macros to param.h. fgsch@ and millert@ ok
Diffstat (limited to 'sys/arch/amiga/dev')
-rw-r--r--sys/arch/amiga/dev/com_supio.c7
-rw-r--r--sys/arch/amiga/dev/ser.c7
2 files changed, 2 insertions, 12 deletions
diff --git a/sys/arch/amiga/dev/com_supio.c b/sys/arch/amiga/dev/com_supio.c
index 927105458da..6da2b8b793e 100644
--- a/sys/arch/amiga/dev/com_supio.c
+++ b/sys/arch/amiga/dev/com_supio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com_supio.c,v 1.2 1998/03/01 12:57:05 niklas Exp $ */
+/* $OpenBSD: com_supio.c,v 1.3 2002/01/30 20:45:34 nordin Exp $ */
/* $NetBSD: com_supio.c,v 1.3 1997/08/27 20:41:30 is Exp $ */
/*-
@@ -85,11 +85,6 @@ struct cfattach com_supio_ca = {
sizeof(struct comsupio_softc), com_supio_match, com_supio_attach
};
-/* Macros to clear/set/test flags. */
-#define SET(t, f) (t) |= (f)
-#define CLR(t, f) (t) &= ~(f)
-#define ISSET(t, f) ((t) & (f))
-
int
com_supio_match(parent, match, aux)
struct device *parent;
diff --git a/sys/arch/amiga/dev/ser.c b/sys/arch/amiga/dev/ser.c
index 0428bf82ebc..6463c9519c8 100644
--- a/sys/arch/amiga/dev/ser.c
+++ b/sys/arch/amiga/dev/ser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ser.c,v 1.9 1998/02/22 23:33:05 niklas Exp $ */
+/* $OpenBSD: ser.c,v 1.10 2002/01/30 20:45:34 nordin Exp $ */
/* $NetBSD: ser.c,v 1.43 1998/01/12 10:40:11 thorpej Exp $ */
/*
@@ -80,11 +80,6 @@
#define SERUNIT(dev) (minor(dev) & 0x7f)
#define SERCUA(dev) (minor(dev) & 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))
-
void serattach __P((struct device *, struct device *, void *));
int sermatch __P((struct device *, void *, void *));