From 43225bc8042b32d52b31c788daee1e42bd1fa28e Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Tue, 22 Nov 2005 00:07:02 +0000 Subject: EPIA-M fixup git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2090 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/devices/cardbus_device.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/devices') diff --git a/src/devices/cardbus_device.c b/src/devices/cardbus_device.c index 4c92d91735..5b03d2827c 100644 --- a/src/devices/cardbus_device.c +++ b/src/devices/cardbus_device.c @@ -74,7 +74,14 @@ void cardbus_read_resources(device_t dev) resource_t moving_base, moving_limit, moving; unsigned long type; uint16_t ctl; - + unsigned long index; + + /* See if needs a card control registers base address */ + + pci_get_resource(dev, PCI_BASE_ADDRESS_0); + + compact_resources(dev); + /* See which bridge I/O resources are implemented */ moving_base = pci_moving_config32(dev, PCI_CB_IO_BASE_0); moving_limit = pci_moving_config32(dev, PCI_CB_IO_LIMIT_0); -- cgit v1.2.3