summaryrefslogtreecommitdiffstats
path: root/drivers/ntb/hw/mscc/Kconfig
diff options
context:
space:
mode:
authorLogan Gunthorpe2017-08-03 20:19:46 +0200
committerJon Mason2017-11-19 02:37:12 +0100
commit33dea5aae0320345af26ae9aba0894a930e0d4ec (patch)
treee7549a2db4add2f55c46d3f19b0cec5ee5ee5c84 /drivers/ntb/hw/mscc/Kconfig
parentNTB: Add check and comment for link up to mw_count() and mw_get_align() (diff)
downloadkernel-qcow2-linux-33dea5aae0320345af26ae9aba0894a930e0d4ec.tar.gz
kernel-qcow2-linux-33dea5aae0320345af26ae9aba0894a930e0d4ec.tar.xz
kernel-qcow2-linux-33dea5aae0320345af26ae9aba0894a930e0d4ec.zip
NTB: switchtec_ntb: Introduce initial NTB driver
Seeing the Switchtec NTB hardware shares the same endpoint as the management endpoint we utilize the class_interface API to register an NTB driver for every Switchtec device in the system that has the NTB class code. Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Reviewed-by: Stephen Bates <sbates@raithlin.com> Reviewed-by: Kurt Schwemmer <kurt.schwemmer@microsemi.com> Acked-by: Allen Hubbe <Allen.Hubbe@dell.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'drivers/ntb/hw/mscc/Kconfig')
-rw-r--r--drivers/ntb/hw/mscc/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/ntb/hw/mscc/Kconfig b/drivers/ntb/hw/mscc/Kconfig
new file mode 100644
index 000000000000..013ed6716438
--- /dev/null
+++ b/drivers/ntb/hw/mscc/Kconfig
@@ -0,0 +1,9 @@
+config NTB_SWITCHTEC
+ tristate "MicroSemi Switchtec Non-Transparent Bridge Support"
+ select PCI_SW_SWITCHTEC
+ help
+ Enables NTB support for Switchtec PCI switches. This also
+ selects the Switchtec management driver as they share the same
+ hardware interface.
+
+ If unsure, say N.