blob: c09623ca8c3b14b9b522c471fa9ac118c9522106 [file] [log] [blame]
Kishon Vijay Abraham I5e8cb402017-04-10 19:25:10 +05301#
2# PCI Endpoint Support
3#
4
5menu "PCI Endpoint"
6
7config PCI_ENDPOINT
8 bool "PCI Endpoint Support"
Geert Uytterhoevenc849e552017-05-16 19:21:08 +02009 depends on HAS_DMA
Kishon Vijay Abraham I5e8cb402017-04-10 19:25:10 +053010 help
11 Enable this configuration option to support configurable PCI
12 endpoint. This should be enabled if the platform has a PCI
13 controller that can operate in endpoint mode.
14
15 Enabling this option will build the endpoint library, which
16 includes endpoint controller library and endpoint function
17 library.
18
19 If in doubt, say "N" to disable Endpoint support.
20
Kishon Vijay Abraham Id7467992017-03-27 15:14:59 +053021config PCI_ENDPOINT_CONFIGFS
22 bool "PCI Endpoint Configfs Support"
23 depends on PCI_ENDPOINT
24 select CONFIGFS_FS
25 help
26 This will enable the configfs entry that can be used to
27 configure the endpoint function and used to bind the
28 function with a endpoint controller.
29
Kishon Vijay Abraham I349e7a82017-03-27 15:15:03 +053030source "drivers/pci/endpoint/functions/Kconfig"
31
Kishon Vijay Abraham I5e8cb402017-04-10 19:25:10 +053032endmenu