summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/pci/tsc.c4
-rw-r--r--sys/arch/alpha/pci/tsreg.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/alpha/pci/tsc.c b/sys/arch/alpha/pci/tsc.c
index 6bbe6c07b65..52a03a5b41c 100644
--- a/sys/arch/alpha/pci/tsc.c
+++ b/sys/arch/alpha/pci/tsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tsc.c,v 1.9 2004/07/18 02:18:26 deraadt Exp $ */
+/* $OpenBSD: tsc.c,v 1.10 2005/12/13 01:16:11 martin Exp $ */
/* $NetBSD: tsc.c,v 1.3 2000/06/25 19:17:40 thorpej Exp $ */
/*-
@@ -238,7 +238,7 @@ tsp_init(mallocsafe, n)
tsp_pci_init(&pcp->pc_pc, pcp);
alpha_pci_chipset = &pcp->pc_pc;
alpha_pci_chipset->pc_name = "tsunami";
- alpha_pci_chipset->pc_mem = TS_P0(0);
+ alpha_pci_chipset->pc_mem = P_PCI_MEM;
alpha_pci_chipset->pc_ports = P_PCI_IO;
alpha_pci_chipset->pc_hae_mask = 0;
alpha_pci_chipset->pc_dense = TS_P0(0);
diff --git a/sys/arch/alpha/pci/tsreg.h b/sys/arch/alpha/pci/tsreg.h
index 334c54df64d..5bccf7d18d3 100644
--- a/sys/arch/alpha/pci/tsreg.h
+++ b/sys/arch/alpha/pci/tsreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tsreg.h,v 1.2 2003/10/18 20:14:42 jmc Exp $ */
+/* $OpenBSD: tsreg.h,v 1.3 2005/12/13 01:16:11 martin Exp $ */
/* $NetBSD: tsreg.h,v 1.1 1999/06/29 06:46:47 ross Exp $ */
/*-
@@ -176,7 +176,7 @@
*/
#define P_CSRBASE 0x001##8000##0000UL
-#define P_PCI_MEM 0
+#define P_PCI_MEM 0x8000000000UL
#define P_PCI_IO 0x001##fc00##0000UL
#define P_PCI_CONFIG 0x001##fe00##0000UL