From e9f78e43fdd385006ab36ab25e8092189c461292 Mon Sep 17 00:00:00 2001 From: Zhou Xuemei Date: Mon, 1 Aug 2022 13:40:25 +0800 Subject: [PATCH] sw64: pci: consolidate PCI config entry in drivers/pci Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I56OLG -------------------------------- According to commit eb01d42a7778 ("PCI: consolidate PCI config entry in drivers/pci"), use PCI config entry in drivers/pci instead of arch/sw64. Signed-off-by: Zhou Xuemei Signed-off-by: Gu Zitao --- arch/sw_64/Kconfig | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/arch/sw_64/Kconfig b/arch/sw_64/Kconfig index f9a270396f5a..deefaf312628 100644 --- a/arch/sw_64/Kconfig +++ b/arch/sw_64/Kconfig @@ -91,6 +91,8 @@ config SW64 select ACPI_REDUCED_HARDWARE_ONLY select GENERIC_TIME_VSYSCALL select SET_FS + select HAVE_PCI + select GENERIC_PCI_IOMAP if PCI select PCI_MSI_ARCH_FALLBACKS select DMA_OPS if PCI select HAVE_REGS_AND_STACK_ACCESS_API @@ -514,17 +516,6 @@ config ISA_DMA_API bool default y -config PCI - bool "PCI Support" - depends on SW64 - select GENERIC_PCI_IOMAP - default y - help - Find out whether you have a PCI motherboard. PCI is the name of a - bus system, i.e. the way the CPU talks to the other stuff inside - your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or - VESA. If you have PCI, say Y, otherwise N. - config PCI_DOMAINS def_bool PCI @@ -729,7 +720,6 @@ config HZ int "HZ of the short timer" default 500 -source "drivers/pci/Kconfig" source "drivers/eisa/Kconfig" source "drivers/pcmcia/Kconfig" -- GitLab