2018-01-26 17:45:16 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2017-04-10 13:55:10 +00:00
|
|
|
#
|
|
|
|
# PCI Endpoint Support
|
|
|
|
#
|
|
|
|
|
|
|
|
menu "PCI Endpoint"
|
|
|
|
|
|
|
|
config PCI_ENDPOINT
|
|
|
|
bool "PCI Endpoint Support"
|
2017-05-16 17:21:08 +00:00
|
|
|
depends on HAS_DMA
|
2017-04-10 13:55:10 +00: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 09:44:59 +00: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 09:45:03 +00:00
|
|
|
source "drivers/pci/endpoint/functions/Kconfig"
|
|
|
|
|
2017-04-10 13:55:10 +00:00
|
|
|
endmenu
|