Stop pci_configure_bus() from mapping PCI expansion ROMs. Fixes problems

with at least some sip (and possibly siop) cards on the walnut.
This commit is contained in:
simonb 2001-08-28 01:35:06 +00:00
parent 8949c133a4
commit 2d4d9f7fdc
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}