|
@@ -475,7 +475,7 @@ void pci_read_bridge_bases(struct pci_bus *child)
|
|
|
|
|
|
if (dev->transparent) {
|
|
if (dev->transparent) {
|
|
pci_bus_for_each_resource(child->parent, res, i) {
|
|
pci_bus_for_each_resource(child->parent, res, i) {
|
|
- if (res) {
|
|
|
|
|
|
+ if (res && res->flags) {
|
|
pci_bus_add_resource(child, res,
|
|
pci_bus_add_resource(child, res,
|
|
PCI_SUBTRACTIVE_DECODE);
|
|
PCI_SUBTRACTIVE_DECODE);
|
|
dev_printk(KERN_DEBUG, &dev->dev,
|
|
dev_printk(KERN_DEBUG, &dev->dev,
|