From 2a7352cb9dd7211c9a7edbef5145dd59df264644 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Sun, 23 Apr 2006 23:12:21 +0000 Subject: Adds a CONFIG_MAX_PCI_BUSES to pci_locate_device() Default is 255. This allows mainboard configs for working across various groups of boards that differ a device that may not loaded. If you search for a device that is not loaded and max buses is 255 then there can be up to a 8 second delay to search the entire PCI space. Board configs that know thier max bus can limit this search space. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2273 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/via/epia-m/Options.lb | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/mainboard/via/epia-m') diff --git a/src/mainboard/via/epia-m/Options.lb b/src/mainboard/via/epia-m/Options.lb index 6c3193e78d..735d4421a0 100644 --- a/src/mainboard/via/epia-m/Options.lb +++ b/src/mainboard/via/epia-m/Options.lb @@ -38,6 +38,7 @@ uses CONFIG_CONSOLE_SERIAL8250 uses CONFIG_UDELAY_TSC uses CONFIG_PCI_ROM_RUN uses CONFIG_CONSOLE_VGA +uses CONFIG_MAX_PCI_BUSES ## ROM_SIZE is the size of boot ROM that this board will use. default ROM_SIZE = 256*1024 @@ -121,5 +122,14 @@ default CROSS_COMPILE="" default CC="$(CROSS_COMPILE)gcc -m32" default HOSTCC="gcc" +## +## Set this to the max PCI bus number you +## would ever use for PCI config IO. +## Setting this number very high will make +## pci_locate_device take a long time when +## it can't find a device. +## +default CONFIG_MAX_PCI_BUSES = 5 + end -- cgit v1.2.3