Skip to content

Commit 4fef611

Browse files
committed
alpha: enable GENERIC_PCI_IOMAP unconditionally
With the previous commit (9caea00: "parisc: Declare pci_iounmap() parisc version only when CONFIG_PCI enabled") we can now enable GENERIC_PCI_IOMAP unconditionally on alpha, and if PCI is not enabled we will just get the nice empty helper functions that allow mixed-bus drivers to build. Example driver: the old 3com/3c59x.c driver works with either the PCI or the EISA version of the 3x59x card, but wouldn't build in an EISA-only configuration because of missing pci_iomap() and pci_iounmap() dummy wrappers. Most of the other PCI infrastructure just becomes empty wrappers even without GENERIC_PCI_IOMAP, and it's not obvious that the pci_iomap functionality shouldn't do the same, but this works. Cc: Ulrich Teichert <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 9caea00 commit 4fef611

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/alpha/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ config ALPHA
2020
select NEED_SG_DMA_LENGTH
2121
select VIRT_TO_BUS
2222
select GENERIC_IRQ_PROBE
23-
select GENERIC_PCI_IOMAP if PCI
23+
select GENERIC_PCI_IOMAP
2424
select AUTO_IRQ_AFFINITY if SMP
2525
select GENERIC_IRQ_SHOW
2626
select ARCH_WANT_IPC_PARSE_VERSION

0 commit comments

Comments
 (0)