From 3c9f394c7414283a98e344d2fc2a72404d92ab90 Mon Sep 17 00:00:00 2001 From: niklas Date: Sat, 4 May 1996 14:15:27 +0000 Subject: [PATCH] Reintroduce GG2_GET_STATUS macro --- sys/arch/amiga/isa/ggbusreg.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.20.1