diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-07-16 21:52:23 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-07-16 21:52:23 +0000 |
commit | 80bbefb991381eac71f7acc412426ab311cdeff1 (patch) | |
tree | ab4b4737b23aa90dc1f87d3fe0fd43220a4b6ebc /sys/arch | |
parent | 91954685d8586fffedbc2af6b2d45f1c5390c0bb (diff) |
Program PPB_REG_PREFLIM_HI32, not PPB_REG_PREFBASE_HI32 a second time. Oops.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sgi/pci/pci_machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sgi/pci/pci_machdep.c b/sys/arch/sgi/pci/pci_machdep.c index ffa32844de3..d252e4b6b0d 100644 --- a/sys/arch/sgi/pci/pci_machdep.c +++ b/sys/arch/sgi/pci/pci_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_machdep.c,v 1.2 2009/07/16 21:02:56 miod Exp $ */ +/* $OpenBSD: pci_machdep.c,v 1.3 2009/07/16 21:52:22 miod Exp $ */ /* * Copyright (c) 2009 Miodrag Vallat. @@ -133,7 +133,7 @@ ppb_initialize(pci_chipset_tag_t pc, pcitag_t ppbtag, uint secondary, ((iostart & 0xffff0000) >> 16) | (ioend & 0xffff0000)); pci_conf_write(pc, ppbtag, PPB_REG_PREFMEM, 0x0000fff0); pci_conf_write(pc, ppbtag, PPB_REG_PREFBASE_HI32, 0); - pci_conf_write(pc, ppbtag, PPB_REG_PREFBASE_HI32, 0); + pci_conf_write(pc, ppbtag, PPB_REG_PREFLIM_HI32, 0); if (iostart <= ioend) csr |= PCI_COMMAND_IO_ENABLE; |