xref: /linux/drivers/pci/endpoint/Kconfig (revision 0bd0a41a5120f78685a132834865b0a631b9026a)
1# SPDX-License-Identifier: GPL-2.0
2#
3# PCI Endpoint Support
4#
5
6menu "PCI Endpoint"
7
8config PCI_ENDPOINT
9	bool "PCI Endpoint Support"
10	depends on HAVE_PCI
11	help
12	   Enable this configuration option to support configurable PCI
13	   endpoint. This should be enabled if the platform has a PCI
14	   controller that can operate in endpoint mode.
15
16	   Enabling this option will build the endpoint library, which
17	   includes endpoint controller library and endpoint function
18	   library.
19
20	   If in doubt, say "N" to disable Endpoint support.
21
22config PCI_ENDPOINT_CONFIGFS
23	bool "PCI Endpoint Configfs Support"
24	depends on PCI_ENDPOINT
25	select CONFIGFS_FS
26	help
27	   This will enable the configfs entry that can be used to
28	   configure the endpoint function and used to bind the
29	   function with an endpoint controller.
30
31config PCI_ENDPOINT_MSI_DOORBELL
32	bool "PCI Endpoint MSI Doorbell Support"
33	depends on PCI_ENDPOINT && GENERIC_MSI_IRQ
34	help
35	  This enables the EP's MSI interrupt controller to function as a
36	  doorbell. The RC can trigger doorbell in EP by writing data to a
37	  dedicated BAR, which the EP maps to the controller's message address.
38
39source "drivers/pci/endpoint/functions/Kconfig"
40
41endmenu
42