diff options
-rw-r--r-- | arch/microblaze/pci/pci-common.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/microblaze/pci/pci-common.c b/arch/microblaze/pci/pci-common.c index f34346d56095..2ffd171af8b6 100644 --- a/arch/microblaze/pci/pci-common.c +++ b/arch/microblaze/pci/pci-common.c | |||
@@ -597,19 +597,6 @@ static void pcibios_fixup_resources(struct pci_dev *dev) | |||
597 | } | 597 | } |
598 | DECLARE_PCI_FIXUP_HEADER(PCI_ANY_ID, PCI_ANY_ID, pcibios_fixup_resources); | 598 | DECLARE_PCI_FIXUP_HEADER(PCI_ANY_ID, PCI_ANY_ID, pcibios_fixup_resources); |
599 | 599 | ||
600 | /* | ||
601 | * We need to avoid collisions with `mirrored' VGA ports | ||
602 | * and other strange ISA hardware, so we always want the | ||
603 | * addresses to be allocated in the 0x000-0x0ff region | ||
604 | * modulo 0x400. | ||
605 | * | ||
606 | * Why? Because some silly external IO cards only decode | ||
607 | * the low 10 bits of the IO address. The 0x00-0xff region | ||
608 | * is reserved for motherboard devices that decode all 16 | ||
609 | * bits, so it's ok to allocate at, say, 0x2800-0x28ff, | ||
610 | * but we want to try to avoid allocating at 0x2900-0x2bff | ||
611 | * which might have be mirrored at 0x0100-0x03ff.. | ||
612 | */ | ||
613 | int pcibios_add_device(struct pci_dev *dev) | 600 | int pcibios_add_device(struct pci_dev *dev) |
614 | { | 601 | { |
615 | dev->irq = of_irq_parse_and_map_pci(dev, 0, 0); | 602 | dev->irq = of_irq_parse_and_map_pci(dev, 0, 0); |