Kishon Vijay Abraham I | 5e8cb40 | 2017-04-10 19:25:10 +0530 | [diff] [blame] | 1 | # |
| 2 | # PCI Endpoint Support |
| 3 | # |
| 4 | |
| 5 | menu "PCI Endpoint" |
| 6 | |
| 7 | config PCI_ENDPOINT |
| 8 | bool "PCI Endpoint Support" |
Geert Uytterhoeven | c849e55 | 2017-05-16 19:21:08 +0200 | [diff] [blame^] | 9 | depends on HAS_DMA |
Kishon Vijay Abraham I | 5e8cb40 | 2017-04-10 19:25:10 +0530 | [diff] [blame] | 10 | 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 I | d746799 | 2017-03-27 15:14:59 +0530 | [diff] [blame] | 21 | config 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 I | 349e7a8 | 2017-03-27 15:15:03 +0530 | [diff] [blame] | 30 | source "drivers/pci/endpoint/functions/Kconfig" |
| 31 | |
Kishon Vijay Abraham I | 5e8cb40 | 2017-04-10 19:25:10 +0530 | [diff] [blame] | 32 | endmenu |