| # Kconfig - PCI configuration options |
| |
| # |
| # Copyright (c) 2015 Intel Corporation |
| # |
| # Redistribution and use in source and binary forms, with or without |
| # modification, are permitted provided that the following conditions are met: |
| # |
| # 1) Redistributions of source code must retain the above copyright notice, |
| # this list of conditions and the following disclaimer. |
| # |
| # 2) Redistributions in binary form must reproduce the above copyright notice, |
| # this list of conditions and the following disclaimer in the documentation |
| # and/or other materials provided with the distribution. |
| # |
| # 3) Neither the name of Intel Corporation nor the names of its contributors |
| # may be used to endorse or promote products derived from this software without |
| # specific prior written permission. |
| # |
| # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE |
| # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| # POSSIBILITY OF SUCH DAMAGE. |
| # |
| |
| |
| menu "PCI Settings" |
| depends on X86_32 |
| config PCI |
| bool "Enable PCI" |
| default n |
| depends on X86_32 |
| help |
| This options enables support of PCI bus for device drivers. |
| |
| config PCI_ENUMERATION |
| bool |
| prompt "Enable PCI device enumeration" |
| depends on PCI |
| default n |
| help |
| This option enables the PCI enumeration for device drivers. |
| This might be useful along with PCI_DEBUG to find out which |
| are the PCI settings of the devices. Once those are known and |
| statically set in every relevant driver's configuration, it |
| might be wise to disable this option to remove useless code. |
| |
| config PCI_LEGACY_BRIDGE |
| bool |
| prompt "PCI legacy bridge device support" |
| depends on PCI |
| default n |
| help |
| This option adds support for PCI legacy bridge device, that |
| allows direct setup of the PCI interrupt pin to IRQ number |
| mapping. |
| |
| config PCI_LEGACY_BRIDGE_BUS |
| int "PCI Legacy Bridge Bus number" |
| depends on PCI_LEGACY_BRIDGE |
| default 0 |
| |
| config PCI_LEGACY_BRIDGE_DEV |
| int "PCI Legacy Bridge Device number" |
| depends on PCI_LEGACY_BRIDGE |
| default 0 |
| |
| config PCI_LEGACY_BRIDGE_VENDOR_ID |
| hex "PCI Legacy Bridge Vendor ID" |
| depends on PCI_LEGACY_BRIDGE |
| default 0 |
| |
| config PCI_LEGACY_BRIDGE_DEVICE_ID |
| hex "PCI Legacy Bridge Device ID" |
| depends on PCI_LEGACY_BRIDGE |
| default 0 |
| |
| config PCI_DEBUG |
| bool |
| prompt "Enable PCI debugging" |
| depends on PCI |
| default n |
| help |
| This options enables PCI debigging functions |
| |
| endmenu |