summaryrefslogtreecommitdiff
path: root/sys/arch/amiga/isa/ggbusreg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amiga/isa/ggbusreg.h')
-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