1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# PCI Endpoint Support 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun 6*4882a593Smuzhiyunmenu "PCI Endpoint" 7*4882a593Smuzhiyun 8*4882a593Smuzhiyunconfig PCI_ENDPOINT 9*4882a593Smuzhiyun bool "PCI Endpoint Support" 10*4882a593Smuzhiyun depends on HAVE_PCI 11*4882a593Smuzhiyun help 12*4882a593Smuzhiyun Enable this configuration option to support configurable PCI 13*4882a593Smuzhiyun endpoint. This should be enabled if the platform has a PCI 14*4882a593Smuzhiyun controller that can operate in endpoint mode. 15*4882a593Smuzhiyun 16*4882a593Smuzhiyun Enabling this option will build the endpoint library, which 17*4882a593Smuzhiyun includes endpoint controller library and endpoint function 18*4882a593Smuzhiyun library. 19*4882a593Smuzhiyun 20*4882a593Smuzhiyun If in doubt, say "N" to disable Endpoint support. 21*4882a593Smuzhiyun 22*4882a593Smuzhiyunconfig PCI_ENDPOINT_CONFIGFS 23*4882a593Smuzhiyun bool "PCI Endpoint Configfs Support" 24*4882a593Smuzhiyun depends on PCI_ENDPOINT 25*4882a593Smuzhiyun select CONFIGFS_FS 26*4882a593Smuzhiyun help 27*4882a593Smuzhiyun This will enable the configfs entry that can be used to 28*4882a593Smuzhiyun configure the endpoint function and used to bind the 29*4882a593Smuzhiyun function with a endpoint controller. 30*4882a593Smuzhiyun 31*4882a593Smuzhiyunsource "drivers/pci/endpoint/functions/Kconfig" 32*4882a593Smuzhiyun 33*4882a593Smuzhiyunendmenu 34