Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

s390/pci: add PCI Kconfig options

CONFIG_PCI is disabled by default currently.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Jan Glauber and committed by
Martin Schwidefsky
c8717a3d 1e8da956

+50 -6
+50 -6
arch/s390/Kconfig
··· 34 34 config GENERIC_BUG_RELATIVE_POINTERS 35 35 def_bool y 36 36 37 - config NO_IOMEM 38 - def_bool y 39 - 40 - config NO_DMA 41 - def_bool y 42 - 43 37 config ARCH_DMA_ADDR_T_64BIT 44 38 def_bool 64BIT 45 39 ··· 51 57 52 58 config AUDIT_ARCH 53 59 def_bool y 60 + 61 + config NO_IOPORT 62 + def_bool y 63 + 64 + config PCI_QUIRKS 65 + def_bool n 54 66 55 67 config S390 56 68 def_bool y ··· 434 434 module will be called qdio. 435 435 436 436 If unsure, say Y. 437 + 438 + menuconfig PCI 439 + bool "PCI support" 440 + default n 441 + depends on 64BIT 442 + select ARCH_SUPPORTS_MSI 443 + select PCI_MSI 444 + help 445 + Enable PCI support. 446 + 447 + if PCI 448 + 449 + config PCI_NR_FUNCTIONS 450 + int "Maximum number of PCI functions (1-4096)" 451 + range 1 4096 452 + default "64" 453 + help 454 + This allows you to specify the maximum number of PCI functions which 455 + this kernel will support. 456 + 457 + source "drivers/pci/Kconfig" 458 + source "drivers/pci/pcie/Kconfig" 459 + source "drivers/pci/hotplug/Kconfig" 460 + 461 + endif # PCI 462 + 463 + config PCI_DOMAINS 464 + def_bool PCI 465 + 466 + config HAS_IOMEM 467 + def_bool PCI 468 + 469 + config IOMMU_HELPER 470 + def_bool PCI 471 + 472 + config HAS_DMA 473 + def_bool PCI 474 + select HAVE_DMA_API_DEBUG 475 + 476 + config NEED_SG_DMA_LENGTH 477 + def_bool PCI 478 + 479 + config HAVE_DMA_ATTRS 480 + def_bool PCI 437 481 438 482 config CHSC_SCH 439 483 def_tristate m