diff options
Diffstat (limited to 'arch/mips/pci')
-rw-r--r-- | arch/mips/pci/pci-ip27.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/mips/pci/pci-ip27.c b/arch/mips/pci/pci-ip27.c index 65b48d41a229..c94a66070a60 100644 --- a/arch/mips/pci/pci-ip27.c +++ b/arch/mips/pci/pci-ip27.c | |||
@@ -214,17 +214,6 @@ static inline void pci_disable_swapping(struct pci_dev *dev) | |||
214 | bridge->b_widget.w_tflush; /* Flush */ | 214 | bridge->b_widget.w_tflush; /* Flush */ |
215 | } | 215 | } |
216 | 216 | ||
217 | static inline void pci_enable_swapping(struct pci_dev *dev) | ||
218 | { | ||
219 | struct bridge_controller *bc = BRIDGE_CONTROLLER(dev->bus); | ||
220 | bridge_t *bridge = bc->base; | ||
221 | int slot = PCI_SLOT(dev->devfn); | ||
222 | |||
223 | /* Turn on byte swapping */ | ||
224 | bridge->b_device[slot].reg |= BRIDGE_DEV_SWAP_DIR; | ||
225 | bridge->b_widget.w_tflush; /* Flush */ | ||
226 | } | ||
227 | |||
228 | static void pci_fixup_ioc3(struct pci_dev *d) | 217 | static void pci_fixup_ioc3(struct pci_dev *d) |
229 | { | 218 | { |
230 | pci_disable_swapping(d); | 219 | pci_disable_swapping(d); |