From 2d4d9f7fdcfc2f218be2e2c7e04675a3be4c2f38 Mon Sep 17 00:00:00 2001 From: simonb Date: Tue, 28 Aug 2001 01:35:06 +0000 Subject: [PATCH] Stop pci_configure_bus() from mapping PCI expansion ROMs. Fixes problems with at least some sip (and possibly siop) cards on the walnut. --- sys/arch/walnut/pci/pci_machdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/walnut/pci/pci_machdep.c b/sys/arch/walnut/pci/pci_machdep.c index 8ac15d9d52c7..9c67f9a0aaae 100644 --- a/sys/arch/walnut/pci/pci_machdep.c +++ b/sys/arch/walnut/pci/pci_machdep.c @@ -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 @@ pci_conf_hook(pci_chipset_tag_t pc, int bus, int dev, int func, int id) /* Don't configure the bridge and PCI probe. */ return 0; } - return PCI_CONF_ALL; + return PCI_CONF_ALL & ~PCI_CONF_MAP_ROM; }