2015-10-06 06:25:56 +08:00
|
|
|
# Kconfig - PCI configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2015-10-06 06:25:56 +08:00
|
|
|
#
|
|
|
|
|
2015-08-06 19:34:50 +08:00
|
|
|
|
2016-03-27 00:51:40 +08:00
|
|
|
menuconfig PCI
|
2018-08-14 22:19:20 +08:00
|
|
|
bool "PCI Settings"
|
2015-10-09 18:20:52 +08:00
|
|
|
depends on X86
|
2015-08-06 19:34:50 +08:00
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
This options enables support of PCI bus for device drivers.
|
2015-08-26 00:16:07 +08:00
|
|
|
|
2016-03-27 00:51:40 +08:00
|
|
|
if PCI
|
2018-10-17 21:08:38 +08:00
|
|
|
|
|
|
|
config PCI_SHELL
|
|
|
|
bool "Enable PCI Shell"
|
2018-12-04 22:16:09 +08:00
|
|
|
depends on SHELL
|
2018-10-17 21:08:38 +08:00
|
|
|
select PCI_ENUMERATION
|
|
|
|
help
|
|
|
|
Enable commands for debugging PCI using the built-in shell.
|
|
|
|
|
2015-08-26 00:16:07 +08:00
|
|
|
config PCI_ENUMERATION
|
2018-08-14 22:19:20 +08:00
|
|
|
bool "Enable PCI device enumeration"
|
2015-08-26 00:16:07 +08:00
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
This option enables the PCI enumeration for device drivers.
|
2019-03-07 19:05:32 +08:00
|
|
|
This might be useful 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.
|
2015-08-06 19:34:50 +08:00
|
|
|
|
2015-10-02 02:40:23 +08:00
|
|
|
config PCI_LEGACY_BRIDGE
|
2018-08-14 22:19:20 +08:00
|
|
|
bool "PCI legacy bridge device support"
|
2015-10-02 02:40:23 +08:00
|
|
|
help
|
2017-12-13 23:08:21 +08:00
|
|
|
This option adds support for PCI legacy bridge device, that
|
|
|
|
allows direct setup of the PCI interrupt pin to IRQ number
|
|
|
|
mapping.
|
2015-10-02 02:40:23 +08:00
|
|
|
|
|
|
|
config PCI_LEGACY_BRIDGE_BUS
|
2016-05-25 07:17:13 +08:00
|
|
|
int "PCI Legacy Bridge Bus number"
|
|
|
|
depends on PCI_LEGACY_BRIDGE
|
|
|
|
default 0
|
2015-10-02 02:40:23 +08:00
|
|
|
|
|
|
|
config PCI_LEGACY_BRIDGE_DEV
|
2016-05-25 07:17:13 +08:00
|
|
|
int "PCI Legacy Bridge Device number"
|
|
|
|
depends on PCI_LEGACY_BRIDGE
|
|
|
|
default 0
|
2015-10-02 02:40:23 +08:00
|
|
|
|
|
|
|
config PCI_LEGACY_BRIDGE_VENDOR_ID
|
2016-05-25 07:17:13 +08:00
|
|
|
hex "PCI Legacy Bridge Vendor ID"
|
|
|
|
depends on PCI_LEGACY_BRIDGE
|
|
|
|
default 0
|
2015-10-02 02:40:23 +08:00
|
|
|
|
|
|
|
config PCI_LEGACY_BRIDGE_DEVICE_ID
|
2016-05-25 07:17:13 +08:00
|
|
|
hex "PCI Legacy Bridge Device ID"
|
|
|
|
depends on PCI_LEGACY_BRIDGE
|
|
|
|
default 0
|
2015-10-02 02:40:23 +08:00
|
|
|
|
2018-12-07 16:18:32 +08:00
|
|
|
module = PCI
|
|
|
|
module-str = PCI
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
2016-03-27 00:51:40 +08:00
|
|
|
|
2018-12-07 16:18:32 +08:00
|
|
|
endif # PCI
|