summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-05-04 14:15:28 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-05-04 14:15:28 +0000
commit12a6d09641948b99fbe0e85fa56e1255572c45bb (patch)
tree679c36977cb91e3dbe6f3cef328b043bd7132673
parent440befa4899c6b86ae36007a07b9de01a1579c24 (diff)
Reintroduce GG2_GET_STATUS macro
-rw-r--r--sys/arch/amiga/isa/ggbusreg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amiga/isa/ggbusreg.h b/sys/arch/amiga/isa/ggbusreg.h
index 1bc9d461b56..d6ede981964 100644
--- a/sys/arch/amiga/isa/ggbusreg.h
+++ b/sys/arch/amiga/isa/ggbusreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ggbusreg.h,v 1.2 1996/04/27 18:38:59 niklas Exp $ */
+/* $OpenBSD: ggbusreg.h,v 1.3 1996/05/04 14:15:27 niklas Exp $ */
/*
* Copyright (c) 1994, 1996 Niklas Hallqvist
@@ -37,6 +37,7 @@
#define GG2_STATUS 0x18000
#define GG2_STATUS_ADDR(va) (volatile u_int16_t *)((va) + GG2_STATUS)
+#define GG2_GET_STATUS(va) (*GG2_STATUS_ADDR(va))
#define GG2_MASTER 0
#define GG2_WAIT 1