aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/Kconfig
diff options
context:
space:
mode:
authorJan Glauber <jang@linux.vnet.ibm.com>2012-11-29 08:38:46 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-11-30 11:47:27 -0500
commitc8717a3d66ad697158f7a0dd6045fec280c8d723 (patch)
treefc4fbd4d584e3c176bf16013ad8d43a3e84a1150 /arch/s390/Kconfig
parent1e8da9566b56e371902381f42e209df79090486e (diff)
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>
Diffstat (limited to 'arch/s390/Kconfig')
-rw-r--r--arch/s390/Kconfig56
1 files changed, 50 insertions, 6 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index 1bf4b294c6e9..f39a6f54c353 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -34,12 +34,6 @@ config GENERIC_BUG
34config GENERIC_BUG_RELATIVE_POINTERS 34config GENERIC_BUG_RELATIVE_POINTERS
35 def_bool y 35 def_bool y
36 36
37config NO_IOMEM
38 def_bool y
39
40config NO_DMA
41 def_bool y
42
43config ARCH_DMA_ADDR_T_64BIT 37config ARCH_DMA_ADDR_T_64BIT
44 def_bool 64BIT 38 def_bool 64BIT
45 39
@@ -58,6 +52,12 @@ config KEXEC
58config AUDIT_ARCH 52config AUDIT_ARCH
59 def_bool y 53 def_bool y
60 54
55config NO_IOPORT
56 def_bool y
57
58config PCI_QUIRKS
59 def_bool n
60
61config S390 61config S390
62 def_bool y 62 def_bool y
63 select USE_GENERIC_SMP_HELPERS if SMP 63 select USE_GENERIC_SMP_HELPERS if SMP
@@ -435,6 +435,50 @@ config QDIO
435 435
436 If unsure, say Y. 436 If unsure, say Y.
437 437
438menuconfig 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
447if PCI
448
449config 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
457source "drivers/pci/Kconfig"
458source "drivers/pci/pcie/Kconfig"
459source "drivers/pci/hotplug/Kconfig"
460
461endif # PCI
462
463config PCI_DOMAINS
464 def_bool PCI
465
466config HAS_IOMEM
467 def_bool PCI
468
469config IOMMU_HELPER
470 def_bool PCI
471
472config HAS_DMA
473 def_bool PCI
474 select HAVE_DMA_API_DEBUG
475
476config NEED_SG_DMA_LENGTH
477 def_bool PCI
478
479config HAVE_DMA_ATTRS
480 def_bool PCI
481
438config CHSC_SCH 482config CHSC_SCH
439 def_tristate m 483 def_tristate m
440 prompt "Support for CHSC subchannels" 484 prompt "Support for CHSC subchannels"