diff options
author | Linus Torvalds | 2018-08-21 22:18:22 +0200 |
---|---|---|
committer | Linus Torvalds | 2018-08-21 22:18:22 +0200 |
commit | 5e26830990a9e8816b6854f77c550f1c847d89d8 (patch) | |
tree | ada88a4d2c241323dbaead5c776cb769805c9b2a /arch/microblaze/pci/pci-common.c | |
parent | Merge tag 'please-pull-noboot' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff) | |
parent | microblaze/PCI: Remove stale pcibios_align_resource() comment (diff) | |
download | kernel-qcow2-linux-5e26830990a9e8816b6854f77c550f1c847d89d8.tar.gz kernel-qcow2-linux-5e26830990a9e8816b6854f77c550f1c847d89d8.tar.xz kernel-qcow2-linux-5e26830990a9e8816b6854f77c550f1c847d89d8.zip |
Merge tag 'microblaze-v4.19-rc1' of git://git.monstr.eu/linux-2.6-microblaze
Pull arch/microblaze updates from Michal Simek:
- use generic noncoherent direct mapping
- use LDFLAGS instead of LD
- pci error path fix
- remove incorrect comments
* tag 'microblaze-v4.19-rc1' of git://git.monstr.eu/linux-2.6-microblaze:
microblaze/PCI: Remove stale pcibios_align_resource() comment
microblaze: delete wrong comment about machine_early_init
microblaze: add endianness options to LDFLAGS instead of LD
microblaze: remove consistent_sync and consistent_sync_page
microblaze: use generic dma_noncoherent_ops
microblaze: warn if of_iomap() failed
Diffstat (limited to 'arch/microblaze/pci/pci-common.c')
-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) } DECLARE_PCI_FIXUP_HEADER(PCI_ANY_ID, PCI_ANY_ID, pcibios_fixup_resources); -/* - * We need to avoid collisions with `mirrored' VGA ports - * and other strange ISA hardware, so we always want the - * addresses to be allocated in the 0x000-0x0ff region - * modulo 0x400. - * - * Why? Because some silly external IO cards only decode - * the low 10 bits of the IO address. The 0x00-0xff region - * is reserved for motherboard devices that decode all 16 - * bits, so it's ok to allocate at, say, 0x2800-0x28ff, - * but we want to try to avoid allocating at 0x2900-0x2bff - * which might have be mirrored at 0x0100-0x03ff.. - */ int pcibios_add_device(struct pci_dev *dev) { dev->irq = of_irq_parse_and_map_pci(dev, 0, 0); |