ACPI/PCI: PCI extended config _OSC support called when root bridge added
[deliverable/linux.git] / drivers / pci / pci.c
index 3c2fa2fdc9cd965d09af0d6338d17df2004c673e..48fa860276d4adbf6ca28f317a1db8e4dbad9c9a 100644 (file)
@@ -2084,6 +2084,19 @@ static void __devinit pci_no_domains(void)
 #endif
 }
 
+/**
+ * pci_ext_cfg_enabled - can we access extended PCI config space?
+ * @dev: The PCI device of the root bridge.
+ *
+ * Returns 1 if we can access PCI extended config space (offsets
+ * greater than 0xff). This is the default implementation. Architecture
+ * implementations can override this.
+ */
+int __attribute__ ((weak)) pci_ext_cfg_avail(struct pci_dev *dev)
+{
+       return 1;
+}
+
 static int __devinit pci_init(void)
 {
        struct pci_dev *dev = NULL;
This page took 0.026191 seconds and 5 git commands to generate.