rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | # |
| 2 | # PCI Endpoint Support |
| 3 | # |
| 4 | |
| 5 | menu "PCI Endpoint" |
| 6 | |
| 7 | config PCI_ENDPOINT |
| 8 | bool "PCI Endpoint Support" |
| 9 | depends on HAS_DMA |
| 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 | |
| 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 | |
| 30 | source "drivers/pci/endpoint/functions/Kconfig" |
| 31 | |
| 32 | endmenu |