18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci# 38c2ecf20Sopenharmony_ci# PCI Endpoint Support 48c2ecf20Sopenharmony_ci# 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_cimenu "PCI Endpoint" 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ciconfig PCI_ENDPOINT 98c2ecf20Sopenharmony_ci bool "PCI Endpoint Support" 108c2ecf20Sopenharmony_ci depends on HAVE_PCI 118c2ecf20Sopenharmony_ci help 128c2ecf20Sopenharmony_ci Enable this configuration option to support configurable PCI 138c2ecf20Sopenharmony_ci endpoint. This should be enabled if the platform has a PCI 148c2ecf20Sopenharmony_ci controller that can operate in endpoint mode. 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci Enabling this option will build the endpoint library, which 178c2ecf20Sopenharmony_ci includes endpoint controller library and endpoint function 188c2ecf20Sopenharmony_ci library. 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci If in doubt, say "N" to disable Endpoint support. 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ciconfig PCI_ENDPOINT_CONFIGFS 238c2ecf20Sopenharmony_ci bool "PCI Endpoint Configfs Support" 248c2ecf20Sopenharmony_ci depends on PCI_ENDPOINT 258c2ecf20Sopenharmony_ci select CONFIGFS_FS 268c2ecf20Sopenharmony_ci help 278c2ecf20Sopenharmony_ci This will enable the configfs entry that can be used to 288c2ecf20Sopenharmony_ci configure the endpoint function and used to bind the 298c2ecf20Sopenharmony_ci function with a endpoint controller. 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_cisource "drivers/pci/endpoint/functions/Kconfig" 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ciendmenu 34