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:
parent
0493069aa9
commit
92555b939d
|
@ -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,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue