diff options
Diffstat (limited to 'arch/powerpc/include/asm/pci-bridge.h')
-rw-r--r-- | arch/powerpc/include/asm/pci-bridge.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/arch/powerpc/include/asm/pci-bridge.h b/arch/powerpc/include/asm/pci-bridge.h index b90dbf8e5cd9..b3a40c3d5000 100644 --- a/arch/powerpc/include/asm/pci-bridge.h +++ b/arch/powerpc/include/asm/pci-bridge.h | |||
@@ -17,45 +17,45 @@ enum { | |||
17 | /* Force re-assigning all resources (ignore firmware | 17 | /* Force re-assigning all resources (ignore firmware |
18 | * setup completely) | 18 | * setup completely) |
19 | */ | 19 | */ |
20 | PPC_PCI_REASSIGN_ALL_RSRC = 0x00000001, | 20 | PCI_REASSIGN_ALL_RSRC = 0x00000001, |
21 | 21 | ||
22 | /* Re-assign all bus numbers */ | 22 | /* Re-assign all bus numbers */ |
23 | PPC_PCI_REASSIGN_ALL_BUS = 0x00000002, | 23 | PCI_REASSIGN_ALL_BUS = 0x00000002, |
24 | 24 | ||
25 | /* Do not try to assign, just use existing setup */ | 25 | /* Do not try to assign, just use existing setup */ |
26 | PPC_PCI_PROBE_ONLY = 0x00000004, | 26 | PCI_PROBE_ONLY = 0x00000004, |
27 | 27 | ||
28 | /* Don't bother with ISA alignment unless the bridge has | 28 | /* Don't bother with ISA alignment unless the bridge has |
29 | * ISA forwarding enabled | 29 | * ISA forwarding enabled |
30 | */ | 30 | */ |
31 | PPC_PCI_CAN_SKIP_ISA_ALIGN = 0x00000008, | 31 | PCI_CAN_SKIP_ISA_ALIGN = 0x00000008, |
32 | 32 | ||
33 | /* Enable domain numbers in /proc */ | 33 | /* Enable domain numbers in /proc */ |
34 | PPC_PCI_ENABLE_PROC_DOMAINS = 0x00000010, | 34 | PCI_ENABLE_PROC_DOMAINS = 0x00000010, |
35 | /* ... except for domain 0 */ | 35 | /* ... except for domain 0 */ |
36 | PPC_PCI_COMPAT_DOMAIN_0 = 0x00000020, | 36 | PCI_COMPAT_DOMAIN_0 = 0x00000020, |
37 | }; | 37 | }; |
38 | #ifdef CONFIG_PCI | 38 | #ifdef CONFIG_PCI |
39 | extern unsigned int ppc_pci_flags; | 39 | extern unsigned int pci_flags; |
40 | 40 | ||
41 | static inline void ppc_pci_set_flags(int flags) | 41 | static inline void pci_set_flags(int flags) |
42 | { | 42 | { |
43 | ppc_pci_flags = flags; | 43 | pci_flags = flags; |
44 | } | 44 | } |
45 | 45 | ||
46 | static inline void ppc_pci_add_flags(int flags) | 46 | static inline void pci_add_flags(int flags) |
47 | { | 47 | { |
48 | ppc_pci_flags |= flags; | 48 | pci_flags |= flags; |
49 | } | 49 | } |
50 | 50 | ||
51 | static inline int ppc_pci_has_flag(int flag) | 51 | static inline int pci_has_flag(int flag) |
52 | { | 52 | { |
53 | return (ppc_pci_flags & flag); | 53 | return (pci_flags & flag); |
54 | } | 54 | } |
55 | #else | 55 | #else |
56 | static inline void ppc_pci_set_flags(int flags) { } | 56 | static inline void pci_set_flags(int flags) { } |
57 | static inline void ppc_pci_add_flags(int flags) { } | 57 | static inline void pci_add_flags(int flags) { } |
58 | static inline int ppc_pci_has_flag(int flag) | 58 | static inline int pci_has_flag(int flag) |
59 | { | 59 | { |
60 | return 0; | 60 | return 0; |
61 | } | 61 | } |