diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-04-10 21:20:25 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-06-07 19:08:35 -0400 |
commit | 72bdee79f89ffc9ce425611cdaf88d28a96b8b66 (patch) | |
tree | 7b73aa0003ab4a05f799e8e86e01d6064a8167c1 /arch/microblaze/include | |
parent | 98d9f30c820d509145757e6ecbc36013aa02f7bc (diff) |
microblaze/pci: Remove powermac originated cruft
The whole business with re-assigning all bus numbers, creating
an OF bus "map" etc... is ancient powermac stuff that you really
don't care about on microblaze.
Similarly pci_device_from_OF_node() is unused and by getting rid
of it we can get rid of a whole lot of code otherwise unused on
this architecture
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include')
-rw-r--r-- | arch/microblaze/include/asm/pci-bridge.h | 3 | ||||
-rw-r--r-- | arch/microblaze/include/asm/pci.h | 3 |
2 files changed, 1 insertions, 5 deletions
diff --git a/arch/microblaze/include/asm/pci-bridge.h b/arch/microblaze/include/asm/pci-bridge.h index 728f8d6a59a4..6bddc0701a07 100644 --- a/arch/microblaze/include/asm/pci-bridge.h +++ b/arch/microblaze/include/asm/pci-bridge.h | |||
@@ -19,9 +19,6 @@ enum { | |||
19 | */ | 19 | */ |
20 | PCI_REASSIGN_ALL_RSRC = 0x00000001, | 20 | PCI_REASSIGN_ALL_RSRC = 0x00000001, |
21 | 21 | ||
22 | /* Re-assign all bus numbers */ | ||
23 | PCI_REASSIGN_ALL_BUS = 0x00000002, | ||
24 | |||
25 | /* Do not try to assign, just use existing setup */ | 22 | /* Do not try to assign, just use existing setup */ |
26 | PCI_PROBE_ONLY = 0x00000004, | 23 | PCI_PROBE_ONLY = 0x00000004, |
27 | 24 | ||
diff --git a/arch/microblaze/include/asm/pci.h b/arch/microblaze/include/asm/pci.h index ba65cf472544..1dd9d6b1e275 100644 --- a/arch/microblaze/include/asm/pci.h +++ b/arch/microblaze/include/asm/pci.h | |||
@@ -40,8 +40,7 @@ struct pci_dev; | |||
40 | * Set this to 1 if you want the kernel to re-assign all PCI | 40 | * Set this to 1 if you want the kernel to re-assign all PCI |
41 | * bus numbers (don't do that on ppc64 yet !) | 41 | * bus numbers (don't do that on ppc64 yet !) |
42 | */ | 42 | */ |
43 | #define pcibios_assign_all_busses() \ | 43 | #define pcibios_assign_all_busses() 0 |
44 | (pci_has_flag(PCI_REASSIGN_ALL_BUS)) | ||
45 | 44 | ||
46 | static inline void pcibios_set_master(struct pci_dev *dev) | 45 | static inline void pcibios_set_master(struct pci_dev *dev) |
47 | { | 46 | { |