zephyr/drivers/pci/Kconfig
Ulf Magnusson 8cf8db3a73 Kconfig: Use a short, consistent style for prompts
Consistently use

    config FOO
            bool/int/hex/string "Prompt text"

instead of

    config FOO
            bool/int/hex/string
            prompt "Prompt text"

(...and a bunch of other variations that e.g. swapped the order of the
type and the 'prompt', or put other properties between them).

The shorthand is fully equivalent to using 'prompt'. It saves lines and
avoids tricking people into thinking there is some semantic difference.

Most of the grunt work was done by a modified version of
https://unix.stackexchange.com/questions/26284/
how-can-i-use-sed-to-replace-a-multi-line-string/26290#26290, but some
of the rarer variations had to be converted manually.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2018-08-15 04:10:10 -07:00

60 lines
1.4 KiB
Plaintext

# Kconfig - PCI configuration options
#
# Copyright (c) 2015 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig PCI
bool "PCI Settings"
depends on X86
help
This options enables support of PCI bus for device drivers.
if PCI
config PCI_ENUMERATION
bool "Enable PCI device enumeration"
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 "PCI legacy bridge device support"
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 "Enable PCI debugging"
help
This options enables PCI debugging functions
endif