summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/mpc1211/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh/mpc1211/pci.h')
-rw-r--r--include/asm-sh/mpc1211/pci.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/include/asm-sh/mpc1211/pci.h b/include/asm-sh/mpc1211/pci.h
new file mode 100644
index 0000000..5d3712c
--- /dev/null
+++ b/include/asm-sh/mpc1211/pci.h
@@ -0,0 +1,40 @@
+/*
+ * Low-Level PCI Support for MPC-1211
+ *
+ * (c) 2002 Saito.K & Jeanne
+ *
+ */
+
+#ifndef _PCI_MPC1211_H_
+#define _PCI_MPC1211_H_
+
+#include <linux/pci.h>
+
+/* set debug level 4=verbose...1=terse */
+//#define DEBUG_PCI 3
+#undef DEBUG_PCI
+
+#ifdef DEBUG_PCI
+#define PCIDBG(n, x...) { if(DEBUG_PCI>=n) printk(x); }
+#else
+#define PCIDBG(n, x...)
+#endif
+
+/* startup values */
+#define PCI_PROBE_BIOS 1
+#define PCI_PROBE_CONF1 2
+#define PCI_PROBE_CONF2 4
+#define PCI_NO_SORT 0x100
+#define PCI_BIOS_SORT 0x200
+#define PCI_NO_CHECKS 0x400
+#define PCI_ASSIGN_ROMS 0x1000
+#define PCI_BIOS_IRQ_SCAN 0x2000
+
+/* MPC-1211 Specific Values */
+#define PCIPAR (0xa4000cf8) /* PCI Config address */
+#define PCIPDR (0xa4000cfc) /* PCI Config data */
+
+#define PA_PCI_IO (0xa4000000) /* PCI I/O space */
+#define PA_PCI_MEM (0xb0000000) /* PCI MEM space */
+
+#endif /* _PCI_MPC1211_H_ */
OpenPOWER on IntegriCloud