summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ncr53c9x.c
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2009-11-01 23:06:04 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2009-11-01 23:06:04 +0000
commit4deda1b87a5fba9d18b16318ddd5f8f0770bc42a (patch)
tree1bb6fc2c26e4d2b6f16161d1bd36c0eccae58358 /sys/dev/ic/ncr53c9x.c
parent5ab4240e0f94125c81a2e37984de55d5a8f4549e (diff)
Move IS[12]BYTEMSG and ISEXTMSG defines to a common place.
Pointed out by miod@. krw@ miod@ ok.
Diffstat (limited to 'sys/dev/ic/ncr53c9x.c')
-rw-r--r--sys/dev/ic/ncr53c9x.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/ic/ncr53c9x.c b/sys/dev/ic/ncr53c9x.c
index b546220c1f1..c96390e3029 100644
--- a/sys/dev/ic/ncr53c9x.c
+++ b/sys/dev/ic/ncr53c9x.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ncr53c9x.c,v 1.40 2008/11/24 00:31:35 krw Exp $ */
+/* $OpenBSD: ncr53c9x.c,v 1.41 2009/11/01 23:06:03 fgsch Exp $ */
/* $NetBSD: ncr53c9x.c,v 1.56 2000/11/30 14:41:46 thorpej Exp $ */
/*
@@ -1413,10 +1413,6 @@ abort:
return (1);
}
-#define IS1BYTEMSG(m) (((m) != 1 && (m) < 0x20) || (m) & 0x80)
-#define IS2BYTEMSG(m) (((m) & 0xf0) == 0x20)
-#define ISEXTMSG(m) ((m) == 1)
-
static inline int
__verify_msg_format(u_char *p, int len)
{