summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/files/arch/mips/pci/pci-bcm63xx.h
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-11-26 18:41:01 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-11-26 18:41:01 +0000
commitaedeeb1874e872189927c3c73cc039a2eb250586 (patch)
tree6fde2e69d2148e574198abd03d835771086266a3 /target/linux/brcm63xx/files/arch/mips/pci/pci-bcm63xx.h
parente65685b4adca261a3d31b01014723755aff10323 (diff)
Flatten brcm63xx patches, should make our life easier to patch files now ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13368 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/files/arch/mips/pci/pci-bcm63xx.h')
-rw-r--r--target/linux/brcm63xx/files/arch/mips/pci/pci-bcm63xx.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/files/arch/mips/pci/pci-bcm63xx.h b/target/linux/brcm63xx/files/arch/mips/pci/pci-bcm63xx.h
new file mode 100644
index 000000000..a6e594ef3
--- /dev/null
+++ b/target/linux/brcm63xx/files/arch/mips/pci/pci-bcm63xx.h
@@ -0,0 +1,27 @@
+#ifndef PCI_BCM63XX_H_
+#define PCI_BCM63XX_H_
+
+#include <bcm63xx_cpu.h>
+#include <bcm63xx_io.h>
+#include <bcm63xx_regs.h>
+#include <bcm63xx_dev_pci.h>
+
+/*
+ * Cardbus shares the PCI bus, but has no IDSEL, so a special id is
+ * reserved for it. If you have a standard PCI device at this id, you
+ * need to change the following definition.
+ */
+#define CARDBUS_PCI_IDSEL 0x8
+
+/*
+ * defined in ops-bcm63xx.c
+ */
+extern struct pci_ops bcm63xx_pci_ops;
+extern struct pci_ops bcm63xx_cb_ops;
+
+/*
+ * defined in pci-bcm63xx.c
+ */
+extern void __iomem *pci_iospace_start;
+
+#endif /* ! PCI_BCM63XX_H_ */