Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/walnut/pci Stop pci_configure_bus() from mapping PC...



details:   https://anonhg.NetBSD.org/src/rev/c14ff3966ecd
branches:  trunk
changeset: 514297:c14ff3966ecd
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue Aug 28 01:35:06 2001 +0000

description:
Stop pci_configure_bus() from mapping PCI expansion ROMs.  Fixes problems
with at least some sip (and possibly siop) cards on the walnut.

diffstat:

 sys/arch/walnut/pci/pci_machdep.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r 129589cc4f0b -r c14ff3966ecd sys/arch/walnut/pci/pci_machdep.c
--- a/sys/arch/walnut/pci/pci_machdep.c Mon Aug 27 22:38:34 2001 +0000
+++ b/sys/arch/walnut/pci/pci_machdep.c Tue Aug 28 01:35:06 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_machdep.c,v 1.2 2001/06/24 01:15:41 simonb Exp $   */
+/*     $NetBSD: pci_machdep.c,v 1.3 2001/08/28 01:35:06 simonb Exp $   */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All rights reserved.
@@ -254,5 +254,5 @@
                /* Don't configure the bridge and PCI probe. */
                return 0;
        }
-       return PCI_CONF_ALL;
+       return PCI_CONF_ALL & ~PCI_CONF_MAP_ROM;
 }



Home | Main Index | Thread Index | Old Index