diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2005-11-22 00:07:02 +0000 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2005-11-22 00:07:02 +0000 |
commit | 43225bc8042b32d52b31c788daee1e42bd1fa28e (patch) | |
tree | 951e0acc732af7483565e4b0d5d42d1c849e2562 /src/devices/cardbus_device.c | |
parent | 86cbd33837207e06a9ae41efe65ac2401e885c4b (diff) | |
download | coreboot-43225bc8042b32d52b31c788daee1e42bd1fa28e.tar.xz |
EPIA-M fixup
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2090 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices/cardbus_device.c')
-rw-r--r-- | src/devices/cardbus_device.c | 9 |
1 files changed, 8 insertions, 1 deletions
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); |