2018-01-27 01:45:16 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2017-04-10 21:55:10 +08:00
|
|
|
#
|
|
|
|
# PCI Endpoint Support
|
|
|
|
#
|
|
|
|
|
|
|
|
menu "PCI Endpoint"
|
|
|
|
|
|
|
|
config PCI_ENDPOINT
|
|
|
|
bool "PCI Endpoint Support"
|
2018-11-16 03:05:32 +08:00
|
|
|
depends on HAVE_PCI
|
2017-04-10 21:55:10 +08:00
|
|
|
help
|
|
|
|
Enable this configuration option to support configurable PCI
|
|
|
|
endpoint. This should be enabled if the platform has a PCI
|
|
|
|
controller that can operate in endpoint mode.
|
|
|
|
|
|
|
|
Enabling this option will build the endpoint library, which
|
|
|
|
includes endpoint controller library and endpoint function
|
|
|
|
library.
|
|
|
|
|
|
|
|
If in doubt, say "N" to disable Endpoint support.
|
|
|
|
|
2017-03-27 17:44:59 +08:00
|
|
|
config PCI_ENDPOINT_CONFIGFS
|
|
|
|
bool "PCI Endpoint Configfs Support"
|
|
|
|
depends on PCI_ENDPOINT
|
|
|
|
select CONFIGFS_FS
|
|
|
|
help
|
|
|
|
This will enable the configfs entry that can be used to
|
|
|
|
configure the endpoint function and used to bind the
|
|
|
|
function with a endpoint controller.
|
|
|
|
|
2017-03-27 17:45:03 +08:00
|
|
|
source "drivers/pci/endpoint/functions/Kconfig"
|
|
|
|
|
2017-04-10 21:55:10 +08:00
|
|
|
endmenu
|