forked from luck/tmp_suning_uos_patched
d1f2564a56
Provide phys_to_dma/dma_to_phys helpers only if PCI support is enabled, everything else is generic. Signed-off-by: Christoph Hellwig <hch@lst.de> Patchwork: https://patchwork.linux-mips.org/patch/19547/ Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: Florian Fainelli <f.fainelli@gmail.com> Cc: David Daney <david.daney@cavium.com> Cc: Kevin Cernekee <cernekee@gmail.com> Cc: Jiaxun Yang <jiaxun.yang@flygoat.com> Cc: Tom Bogendoerfer <tsbogend@alpha.franken.de> Cc: Huacai Chen <chenhc@lemote.com> Cc: iommu@lists.linux-foundation.org Cc: linux-mips@linux-mips.org
19 lines
368 B
Plaintext
19 lines
368 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
config SOC_AR5312
|
|
bool "Atheros AR5312/AR2312+ SoC support"
|
|
depends on ATH25
|
|
default y
|
|
|
|
config SOC_AR2315
|
|
bool "Atheros AR2315+ SoC support"
|
|
depends on ATH25
|
|
default y
|
|
|
|
config PCI_AR2315
|
|
bool "Atheros AR2315 PCI controller support"
|
|
depends on SOC_AR2315
|
|
select ARCH_HAS_PHYS_TO_DMA
|
|
select HW_HAS_PCI
|
|
select PCI
|
|
default y
|