PCI: Add legacy_io/mem to all busses
[deliverable/linux.git] / drivers / pci / bus.c
index 999cc4088b5952beb76e018e573afff4b53fba04..3e1c135b174a2cf7aa7ac365e5c5dd99eb3055d5 100644 (file)
@@ -158,6 +158,10 @@ void pci_bus_add_devices(struct pci_bus *bus)
                                dev_err(&dev->dev,
                                        "Error creating cpulistaffinity"
                                        " file, continuing...\n");
+
+                       /* Create legacy_io and legacy_mem files for this bus */
+                       pci_create_legacy_files(child_bus);
+
                }
        }
 }
This page took 0.024715 seconds and 5 git commands to generate.