diff options
Diffstat (limited to 'src/mainboard/via')
-rw-r--r-- | src/mainboard/via/epia/Config.lb | 20 | ||||
-rw-r--r-- | src/mainboard/via/epia/mainboard.c | 11 |
2 files changed, 20 insertions, 11 deletions
diff --git a/src/mainboard/via/epia/Config.lb b/src/mainboard/via/epia/Config.lb index c4527cec17..c32c4decb0 100644 --- a/src/mainboard/via/epia/Config.lb +++ b/src/mainboard/via/epia/Config.lb @@ -208,22 +208,22 @@ dir /pc80 config chip.h northbridge via/vt8601 "vt8601" - pci 0:18.0 - pci 0:18.0 - pci 0:18.0 - pci 0:18.1 - pci 0:18.2 - pci 0:18.3 +# pci 0:0.0 +# pci 0:1.0 southbridge via/vt8231 "vt8231" +# pci 0:11.0 +# pci 0:11.1 +# pci 0:11.2 +# pci 0:11.3 +# pci 0:11.4 +# pci 0:11.5 +# pci 0:11.6 +# pci 0:12.0 register "enable_usb" = "0" register "enable_native_ide" = "1" register "enable_com_ports" = "1" register "enable_keyboard" = "0" register "enable_nvram" = "1" - pci 0:0.0 - pci 0:0.1 - pci 0:1.0 - pci 0:1.1 end end diff --git a/src/mainboard/via/epia/mainboard.c b/src/mainboard/via/epia/mainboard.c index 554c0d3336..df52081ac7 100644 --- a/src/mainboard/via/epia/mainboard.c +++ b/src/mainboard/via/epia/mainboard.c @@ -9,13 +9,22 @@ #include <device/chip.h> #include "chip.h" +static int +mainboard_scan_bus(device_t root, int maxbus) +{ + int retval; + printk_spew("%s: root %p maxbus %d\n", __FUNCTION__, root, maxbus); + retval = pci_scan_bus(root->bus, 0, 0xff, maxbus); + printk_spew("DONE %s: return %d\n", __FUNCTION__, maxbus); + return maxbus; +} static struct device_operations mainboard_operations = { .read_resources = root_dev_read_resources, .set_resources = root_dev_set_resources, .enable_resources = enable_childrens_resources, .init = 0, - .scan_bus = pci_scan_bridge, + .scan_bus = mainboard_scan_bus, .enable = 0, }; |