diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2005-12-13 01:16:12 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2005-12-13 01:16:12 +0000 |
commit | 88b74d1abf30a52a0effc5f63ec8e1790b690607 (patch) | |
tree | 6aee0df5dc8fd296650388369743542f39ba6d0b /sys/arch/alpha/pci | |
parent | 5839a4f442be66be301f8b910e679919946e5177 (diff) |
Pchip0 PCI memory starts at 0x80000000000, correct and use
P_PCI_MEM accordingly
pointed out by KUDO Takashi in PR 4936
ok deraadt@ miod@
Diffstat (limited to 'sys/arch/alpha/pci')
-rw-r--r-- | sys/arch/alpha/pci/tsc.c | 4 | ||||
-rw-r--r-- | sys/arch/alpha/pci/tsreg.h | 4 |
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 |