summaryrefslogtreecommitdiff
path: root/drivers/pci/endpoint/Kconfig
blob: d1e7e41994323a98ef94214d0e7d16dc35680c4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# SPDX-License-Identifier: GPL-2.0
#
# PCI Endpoint Support
#

menu "PCI Endpoint"

config PCI_ENDPOINT
	bool "PCI Endpoint Support"
	depends on HAS_DMA
	help
	   Enable this configuration option to support configurable PCI
	   endpoint. This should be enabled if the platform has a PCI
	   controller that can operate in endpoint mode.

	   Enabling this option will build the endpoint library, which
	   includes endpoint controller library and endpoint function
	   library.

	   If in doubt, say "N" to disable Endpoint support.

config PCI_ENDPOINT_CONFIGFS
	bool "PCI Endpoint Configfs Support"
	depends on PCI_ENDPOINT
	select CONFIGFS_FS
	help
	   This will enable the configfs entry that can be used to
	   configure the endpoint function and used to bind the
	   function with a endpoint controller.

source "drivers/pci/endpoint/functions/Kconfig"

endmenu