diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-ppc/pci-bridge.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-ppc/pci-bridge.h b/include/asm-ppc/pci-bridge.h index 70aab6691043..0dee56b839a4 100644 --- a/include/asm-ppc/pci-bridge.h +++ b/include/asm-ppc/pci-bridge.h | |||
@@ -65,9 +65,19 @@ struct pci_controller { | |||
65 | /* | 65 | /* |
66 | * If set, indirect method will set the cfg_type bit as | 66 | * If set, indirect method will set the cfg_type bit as |
67 | * needed to generate type 1 configuration transactions. | 67 | * needed to generate type 1 configuration transactions. |
68 | * use only on ARCH=ppc | ||
68 | */ | 69 | */ |
69 | int set_cfg_type; | 70 | int set_cfg_type; |
70 | 71 | ||
72 | /* | ||
73 | * Used for variants of PCI indirect handling and possible quirks: | ||
74 | * SET_CFG_TYPE - used on 4xx or any PHB that does explicit type0/1 | ||
75 | * EXT_REG - provides access to PCI-e extended registers | ||
76 | */ | ||
77 | #define PPC_INDIRECT_TYPE_SET_CFG_TYPE (0x00000001) | ||
78 | #define PPC_INDIRECT_TYPE_EXT_REG (0x00000002) | ||
79 | u32 indirect_type; | ||
80 | |||
71 | /* Currently, we limit ourselves to 1 IO range and 3 mem | 81 | /* Currently, we limit ourselves to 1 IO range and 3 mem |
72 | * ranges since the common pci_bus structure can't handle more | 82 | * ranges since the common pci_bus structure can't handle more |
73 | */ | 83 | */ |