summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/files/arch/mips/pci/pci-bcm63xx.h
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-11-26 18:41:01 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-11-26 18:41:01 +0000
commit1c77ec0587c585f53a7bb8b3979a0303a1527a66 (patch)
treedb8aff070beeb2621ee6c857ee2de73e8a70dd5e /target/linux/brcm63xx/files/arch/mips/pci/pci-bcm63xx.h
parentbd060db789def791e6ae5efc2fbf4329f3d056d3 (diff)
downloadmtk-20170518-1c77ec0587c585f53a7bb8b3979a0303a1527a66.zip
mtk-20170518-1c77ec0587c585f53a7bb8b3979a0303a1527a66.tar.gz
mtk-20170518-1c77ec0587c585f53a7bb8b3979a0303a1527a66.tar.bz2
Flatten brcm63xx patches, should make our life easier to patch files now ;)
SVN-Revision: 13368
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 0000000..a6e594e
--- /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_ */