mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
c849e55178
If NO_DMA=y: drivers/built-in.o: In function `__pci_epc_create': (.text+0xef4e): undefined reference to `bad_dma_ops' drivers/built-in.o: In function `pci_epc_add_epf': (.text+0xf676): undefined reference to `bad_dma_ops' drivers/built-in.o: In function `pci_epf_alloc_space': (.text+0xfa32): undefined reference to `bad_dma_ops' drivers/built-in.o: In function `pci_epf_free_space': (.text+0xfac4): undefined reference to `bad_dma_ops' Add a dependency on HAS_DMA to fix this. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
33 lines
833 B
Plaintext
33 lines
833 B
Plaintext
#
|
|
# 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
|