summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGreg Watson <jarrah@users.sourceforge.net>2004-11-26 00:46:39 +0000
committerGreg Watson <jarrah@users.sourceforge.net>2004-11-26 00:46:39 +0000
commit92555b939d6e7cca7d8c1ded25d05a5a0c6b4683 (patch)
treec44aec5abab0ab6b678317f9fc9bdd795ee0726b /src
parent0493069aa9f68756aafe14ebbf5cd9db40d12cd3 (diff)
downloadcoreboot-92555b939d6e7cca7d8c1ded25d05a5a0c6b4683.tar.gz
coreboot-92555b939d6e7cca7d8c1ded25d05a5a0c6b4683.tar.bz2
coreboot-92555b939d6e7cca7d8c1ded25d05a5a0c6b4683.zip
make sure enable_resource called on children
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1800 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/southbridge/winbond/w83c553/w83c553f.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/southbridge/winbond/w83c553/w83c553f.c b/src/southbridge/winbond/w83c553/w83c553f.c
index 3c41ed35e001..f1dfca13b76b 100644
--- a/src/southbridge/winbond/w83c553/w83c553f.c
+++ b/src/southbridge/winbond/w83c553/w83c553f.c
@@ -182,10 +182,16 @@ void initialise_dma(void)
outw(W83C553F_DMA2 + W83C553F_DMA2_CS, 0x0000);
}
+static void w83c553_enable_resources(device_t dev)
+{
+ pci_dev_enable_resources(dev);
+ enable_childrens_resources(dev);
+}
+
struct device_operations w83c553_ops = {
.read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources,
- .enable_resources = pci_dev_enable_resources,
+ .enable_resources = w83c553_enable_resources,
.init = w83c553_init,
.scan_bus = scan_static_bus,
};