From 99dcf231f48433a07cbd47ecb0c23301a6b5b34e Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Tue, 30 Sep 2003 02:16:47 +0000 Subject: The epia now works. Now to fix the ram ... git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1159 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/via/epia/Config.lb | 20 ++++++++++---------- src/mainboard/via/epia/mainboard.c | 11 ++++++++++- 2 files changed, 20 insertions(+), 11 deletions(-) (limited to 'src/mainboard') 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 #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, }; -- cgit v1.2.3