artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5636ab7
)
Reintroduce GG2_GET_STATUS macro
author
niklas
<niklas@openbsd.org>
Sat, 4 May 1996 14:15:27 +0000
(14:15 +0000)
committer
niklas
<niklas@openbsd.org>
Sat, 4 May 1996 14:15:27 +0000
(14:15 +0000)
sys/arch/amiga/isa/ggbusreg.h
patch
|
blob
|
history
diff --git
a/sys/arch/amiga/isa/ggbusreg.h
b/sys/arch/amiga/isa/ggbusreg.h
index
1bc9d46
..
d6ede98
100644
(file)
--- 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