summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/pci/apecsreg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/alpha/pci/apecsreg.h')
-rw-r--r--sys/arch/alpha/pci/apecsreg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/alpha/pci/apecsreg.h b/sys/arch/alpha/pci/apecsreg.h
index 5bf5eab8dc6..169faaf6cf1 100644
--- a/sys/arch/alpha/pci/apecsreg.h
+++ b/sys/arch/alpha/pci/apecsreg.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: apecsreg.h,v 1.3 1996/07/29 23:00:10 niklas Exp $ */
-/* $NetBSD: apecsreg.h,v 1.3 1995/11/23 02:37:19 cgd Exp $ */
+/* $OpenBSD: apecsreg.h,v 1.4 1996/10/30 22:39:51 niklas Exp $ */
+/* $NetBSD: apecsreg.h,v 1.4 1996/07/09 00:54:34 cgd Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
@@ -35,7 +35,7 @@
* Sheet'' (DEC order number EC-QAEMA-TE), pages 4-1 - 4-27, 10-21 - 10-38.
*/
-#define REGVAL(r) (*(int32_t *)phystok0seg(r))
+#define REGVAL(r) (*(int32_t *)ALPHA_PHYS_TO_K0SEG(r))
/*
* Base addresses