^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # PCI Endpoint Support
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) menu "PCI Endpoint"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) config PCI_ENDPOINT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) bool "PCI Endpoint Support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) depends on HAVE_PCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Enable this configuration option to support configurable PCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) endpoint. This should be enabled if the platform has a PCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) controller that can operate in endpoint mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Enabling this option will build the endpoint library, which
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) includes endpoint controller library and endpoint function
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) library.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) If in doubt, say "N" to disable Endpoint support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) config PCI_ENDPOINT_CONFIGFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) bool "PCI Endpoint Configfs Support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) depends on PCI_ENDPOINT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) select CONFIGFS_FS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) This will enable the configfs entry that can be used to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) configure the endpoint function and used to bind the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) function with a endpoint controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) source "drivers/pci/endpoint/functions/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) endmenu