summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev
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/arch/hp300/dev
parent5ab4240e0f94125c81a2e37984de55d5a8f4549e (diff)
Move IS[12]BYTEMSG and ISEXTMSG defines to a common place.
Pointed out by miod@. krw@ miod@ ok.
Diffstat (limited to 'sys/arch/hp300/dev')
-rw-r--r--sys/arch/hp300/dev/mb89352.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/hp300/dev/mb89352.c b/sys/arch/hp300/dev/mb89352.c
index 6b8d0816ee3..58f54a6660c 100644
--- a/sys/arch/hp300/dev/mb89352.c
+++ b/sys/arch/hp300/dev/mb89352.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mb89352.c,v 1.19 2009/09/18 19:16:59 miod Exp $ */
+/* $OpenBSD: mb89352.c,v 1.20 2009/11/01 23:06:03 fgsch Exp $ */
/* $NetBSD: mb89352.c,v 1.5 2000/03/23 07:01:31 thorpej Exp $ */
/* NecBSD: mb89352.c,v 1.4 1998/03/14 07:31:20 kmatsuda Exp */
@@ -798,10 +798,6 @@ spc_dequeue(struct spc_softc *sc, struct spc_acb *acb)
* INTERRUPT/PROTOCOL ENGINE
*/
-#define IS1BYTEMSG(m) (((m) != 0x01 && (m) < 0x20) || (m) >= 0x80)
-#define IS2BYTEMSG(m) (((m) & 0xf0) == 0x20)
-#define ISEXTMSG(m) ((m) == 0x01)
-
/*
* Precondition:
* The SCSI bus is already in the MSGI phase and there is a message byte