From 92555b939d6e7cca7d8c1ded25d05a5a0c6b4683 Mon Sep 17 00:00:00 2001 From: Greg Watson Date: Fri, 26 Nov 2004 00:46:39 +0000 Subject: make sure enable_resource called on children git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1800 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/southbridge/winbond/w83c553/w83c553f.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/southbridge/winbond/w83c553') diff --git a/src/southbridge/winbond/w83c553/w83c553f.c b/src/southbridge/winbond/w83c553/w83c553f.c index 3c41ed35e0..f1dfca13b7 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, }; -- cgit v1.2.3