mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 01:43:18 +00:00
pci_get_legacy_ide_irq() is only used on platforms that support PNP, so many architectures define it but never use it. Replace uses of it with ATA_PRIMARY_IRQ() and ATA_SECONDARY_IRQ(), which provide the same functionality. Since pci_get_legacy_ide_irq() is no longer used, remove all the architecture-specific definitions of it as well as asm-generic/pci.h, which only provides pci_get_legacy_ide_irq() [bhelgaas: commit log] Co-developed-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Stafford Horne <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]> Acked-by: Pierre Morel <[email protected]> Acked-by: Rafael J. Wysocki <[email protected]>
11 lines
228 B
C
11 lines
228 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_M68K_PCI_H
|
|
#define _ASM_M68K_PCI_H
|
|
|
|
#define pcibios_assign_all_busses() 1
|
|
|
|
#define PCIBIOS_MIN_IO 0x00000100
|
|
#define PCIBIOS_MIN_MEM 0x02000000
|
|
|
|
#endif /* _ASM_M68K_PCI_H */
|