Linux 2.6.20.7
[linux/fpc-iii.git] / include / asm-sh / mpc1211 / pci.h
blob5d3712c3a701d6fca43a6d0865d9389e5d668242
1 /*
2 * Low-Level PCI Support for MPC-1211
4 * (c) 2002 Saito.K & Jeanne
6 */
8 #ifndef _PCI_MPC1211_H_
9 #define _PCI_MPC1211_H_
11 #include <linux/pci.h>
13 /* set debug level 4=verbose...1=terse */
14 //#define DEBUG_PCI 3
15 #undef DEBUG_PCI
17 #ifdef DEBUG_PCI
18 #define PCIDBG(n, x...) { if(DEBUG_PCI>=n) printk(x); }
19 #else
20 #define PCIDBG(n, x...)
21 #endif
23 /* startup values */
24 #define PCI_PROBE_BIOS 1
25 #define PCI_PROBE_CONF1 2
26 #define PCI_PROBE_CONF2 4
27 #define PCI_NO_SORT 0x100
28 #define PCI_BIOS_SORT 0x200
29 #define PCI_NO_CHECKS 0x400
30 #define PCI_ASSIGN_ROMS 0x1000
31 #define PCI_BIOS_IRQ_SCAN 0x2000
33 /* MPC-1211 Specific Values */
34 #define PCIPAR (0xa4000cf8) /* PCI Config address */
35 #define PCIPDR (0xa4000cfc) /* PCI Config data */
37 #define PA_PCI_IO (0xa4000000) /* PCI I/O space */
38 #define PA_PCI_MEM (0xb0000000) /* PCI MEM space */
40 #endif /* _PCI_MPC1211_H_ */