summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/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/macppc/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/macppc/dev')
-rw-r--r--sys/arch/macppc/dev/mesh.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/macppc/dev/mesh.c b/sys/arch/macppc/dev/mesh.c
index 7e6a1a76b5d..a80ef0cf6a9 100644
--- a/sys/arch/macppc/dev/mesh.c
+++ b/sys/arch/macppc/dev/mesh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mesh.c,v 1.22 2009/02/16 21:19:06 miod Exp $ */
+/* $OpenBSD: mesh.c,v 1.23 2009/11/01 23:06:03 fgsch Exp $ */
/* $NetBSD: mesh.c,v 1.1 1999/02/19 13:06:03 tsubai Exp $ */
/*-
@@ -744,10 +744,6 @@ mesh_status(struct mesh_softc *sc, struct mesh_scb *scb)
sc->sc_nextstate = MESH_MSGIN;
}
-#define IS1BYTEMSG(m) (((m) != 1 && (m) < 0x20) || (m) & 0x80)
-#define IS2BYTEMSG(m) (((m) & 0xf0) == 0x20)
-#define ISEXTMSG(m) ((m) == 1)
-
void
mesh_msgin(struct mesh_softc *sc, struct mesh_scb *scb)
{