summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/pci/apecsreg.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 03:54:39 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 03:54:39 +0000
commitf12226068d16673eea9adafe99388f1061d3309f (patch)
tree90cb542d279e793d072ffc6e9f1f1add1f07179e /sys/arch/alpha/pci/apecsreg.h
parent470d0389b66fade522060561cc0c6ba36e01e7cb (diff)
update to netbsd
Diffstat (limited to 'sys/arch/alpha/pci/apecsreg.h')
-rw-r--r--sys/arch/alpha/pci/apecsreg.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/alpha/pci/apecsreg.h b/sys/arch/alpha/pci/apecsreg.h
index 186173f2bb7..864bfac54fe 100644
--- a/sys/arch/alpha/pci/apecsreg.h
+++ b/sys/arch/alpha/pci/apecsreg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: apecsreg.h,v 1.2 1995/08/03 01:17:04 cgd Exp $ */
+/* $NetBSD: apecsreg.h,v 1.3 1995/11/23 02:37:19 cgd Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
@@ -34,6 +34,8 @@
* Sheet'' (DEC order number EC-QAEMA-TE), pages 4-1 - 4-27, 10-21 - 10-38.
*/
+#define REGVAL(r) (*(int32_t *)phystok0seg(r))
+
/*
* Base addresses
*/
@@ -278,7 +280,9 @@
#define EPIC_HAXR1_EADDR 0xf8000000
#define EPIC_HAXR2 (EPIC_BASE + 0x01c0) /* Host Addr Extn 2 */
-#define EPIC_HAXR2_CONF_ADDR 0x00000003
+#define EPIC_HAXR2_CONF_TYPE 0x00000003
+#define EPIC_HAXR2_CONF_TYPO0 0x00000000
+#define EPIC_HAXR2_CONF_TYPE1 0x00000001
#define EPIC_HAXR2_RSVD 0x00fffffc
#define EPIC_HAXR2_EADDR 0xff000000