2015-10-06 06:25:56 +08:00
|
|
|
# Kconfig - PCI configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
|
|
|
#
|
2015-10-07 00:00:37 +08:00
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
2015-10-06 06:25:56 +08:00
|
|
|
#
|
2015-10-07 00:00:37 +08:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2015-10-06 06:25:56 +08:00
|
|
|
#
|
2015-10-07 00:00:37 +08:00
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
2015-10-06 06:25:56 +08:00
|
|
|
#
|
|
|
|
|
2015-08-06 19:34:50 +08:00
|
|
|
|
|
|
|
menu "PCI Settings"
|
|
|
|
depends on X86_32
|
|
|
|
config PCI
|
2015-09-29 22:08:59 +08:00
|
|
|
bool "Enable PCI"
|
2015-08-06 19:34:50 +08:00
|
|
|
default n
|
|
|
|
depends on X86_32
|
|
|
|
help
|
2015-08-26 00:16:07 +08:00
|
|
|
This options enables support of PCI bus for device drivers.
|
|
|
|
|
|
|
|
config PCI_ENUMERATION
|
|
|
|
bool
|
|
|
|
prompt "Enable PCI device enumeration"
|
|
|
|
depends on PCI
|
2015-10-01 17:39:52 +08:00
|
|
|
default n
|
2015-08-26 00:16:07 +08:00
|
|
|
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.
|
2015-08-06 19:34:50 +08:00
|
|
|
|
2015-10-02 02:40:23 +08:00
|
|
|
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
|
|
|
|
|
2015-08-06 19:34:50 +08:00
|
|
|
config PCI_DEBUG
|
|
|
|
bool
|
|
|
|
prompt "Enable PCI debugging"
|
|
|
|
depends on PCI
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This options enables PCI debigging functions
|
|
|
|
|
|
|
|
endmenu
|