make sure enable_resource called on children

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1800 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Greg Watson 2004-11-26 00:46:39 +00:00
parent 0493069aa9
commit 92555b939d
1 changed files with 7 additions and 1 deletions

View File

@ -182,10 +182,16 @@ void initialise_dma(void)
outw(W83C553F_DMA2 + W83C553F_DMA2_CS, 0x0000); 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 = { struct device_operations w83c553_ops = {
.read_resources = pci_dev_read_resources, .read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources, .set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources, .enable_resources = w83c553_enable_resources,
.init = w83c553_init, .init = w83c553_init,
.scan_bus = scan_static_bus, .scan_bus = scan_static_bus,
}; };