|
@@ -10,6 +10,7 @@
|
|
|
*
|
|
|
*/
|
|
|
|
|
|
+#include <linux/acpi.h>
|
|
|
#include <linux/init.h>
|
|
|
#include <linux/io.h>
|
|
|
#include <linux/kernel.h>
|
|
@@ -46,3 +47,27 @@ int pcibios_add_device(struct pci_dev *dev)
|
|
|
|
|
|
return 0;
|
|
|
}
|
|
|
+
|
|
|
+/*
|
|
|
+ * raw_pci_read/write - Platform-specific PCI config space access.
|
|
|
+ */
|
|
|
+int raw_pci_read(unsigned int domain, unsigned int bus,
|
|
|
+ unsigned int devfn, int reg, int len, u32 *val)
|
|
|
+{
|
|
|
+ return -ENXIO;
|
|
|
+}
|
|
|
+
|
|
|
+int raw_pci_write(unsigned int domain, unsigned int bus,
|
|
|
+ unsigned int devfn, int reg, int len, u32 val)
|
|
|
+{
|
|
|
+ return -ENXIO;
|
|
|
+}
|
|
|
+
|
|
|
+#ifdef CONFIG_ACPI
|
|
|
+/* Root bridge scanning */
|
|
|
+struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root)
|
|
|
+{
|
|
|
+ /* TODO: Should be revisited when implementing PCI on ACPI */
|
|
|
+ return NULL;
|
|
|
+}
|
|
|
+#endif
|