xref: /openbmc/linux/drivers/pci/Kconfig (revision c70e0d9d)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# PCI configuration
31da177e4SLinus Torvalds#
4f282b970SDan Williamsconfig ARCH_SUPPORTS_MSI
5f282b970SDan Williams	bool
6f282b970SDan Williams	default n
7f282b970SDan Williams
81da177e4SLinus Torvaldsconfig PCI_MSI
91da177e4SLinus Torvalds	bool "Message Signaled Interrupts (MSI and MSI-X)"
101da177e4SLinus Torvalds	depends on PCI
11f282b970SDan Williams	depends on ARCH_SUPPORTS_MSI
121da177e4SLinus Torvalds	help
131da177e4SLinus Torvalds	   This allows device drivers to enable MSI (Message Signaled
141da177e4SLinus Torvalds	   Interrupts).  Message Signaled Interrupts enable a device to
151da177e4SLinus Torvalds	   generate an interrupt using an inbound Memory Write on its
161da177e4SLinus Torvalds	   PCI bus instead of asserting a device IRQ pin.
171da177e4SLinus Torvalds
18309e57dfSMatthew Wilcox	   Use of PCI MSI interrupts can be disabled at kernel boot time
19309e57dfSMatthew Wilcox	   by using the 'pci=nomsi' option.  This disables MSI for the
20309e57dfSMatthew Wilcox	   entire system.
21309e57dfSMatthew Wilcox
221da177e4SLinus Torvalds	   If you don't know what to do here, say N.
231da177e4SLinus Torvalds
24bd3989e0SJeff Garzikconfig PCI_LEGACY
25bd3989e0SJeff Garzik	bool "Enable deprecated pci_find_* API"
26bd3989e0SJeff Garzik	depends on PCI
27bd3989e0SJeff Garzik	default y
28bd3989e0SJeff Garzik	help
29bd3989e0SJeff Garzik	  Say Y here if you want to include support for the deprecated
30bd3989e0SJeff Garzik	  pci_find_slot() and pci_find_device() APIs.  Most drivers have
31bd3989e0SJeff Garzik	  been converted over to using the proper hotplug APIs, so this
32bd3989e0SJeff Garzik	  option serves to include/exclude only a few drivers that are
33bd3989e0SJeff Garzik	  still using this API.
34bd3989e0SJeff Garzik
351da177e4SLinus Torvaldsconfig PCI_DEBUG
361da177e4SLinus Torvalds	bool "PCI Debugging"
371da177e4SLinus Torvalds	depends on PCI && DEBUG_KERNEL
381da177e4SLinus Torvalds	help
391da177e4SLinus Torvalds	  Say Y here if you want the PCI core to produce a bunch of debug
401da177e4SLinus Torvalds	  messages to the system log.  Select this if you are having a
411da177e4SLinus Torvalds	  problem with PCI support and want to see more of what is going on.
421da177e4SLinus Torvalds
431da177e4SLinus Torvalds	  When in doubt, say N.
441da177e4SLinus Torvalds
45c70e0d9dSChris Wrightconfig PCI_STUB
46c70e0d9dSChris Wright	tristate "PCI Stub driver"
47c70e0d9dSChris Wright	depends on PCI
48c70e0d9dSChris Wright	help
49c70e0d9dSChris Wright	  Say Y or M here if you want be able to reserve a PCI device
50c70e0d9dSChris Wright	  when it is going to be assigned to a guest operating system.
51c70e0d9dSChris Wright
52c70e0d9dSChris Wright	  When in doubt, say N.
53c70e0d9dSChris Wright
548b955b0dSEric W. Biedermanconfig HT_IRQ
558b955b0dSEric W. Biederman	bool "Interrupts on hypertransport devices"
568b955b0dSEric W. Biederman	default y
57fbab41ccSAdrian Bunk	depends on PCI && X86_LOCAL_APIC && X86_IO_APIC
588b955b0dSEric W. Biederman	help
598b955b0dSEric W. Biederman	   This allows native hypertransport devices to use interrupts.
608b955b0dSEric W. Biederman
618b955b0dSEric W. Biederman	   If unsure say Y.
62