Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 33dea5aa authored by Logan Gunthorpe's avatar Logan Gunthorpe Committed by Jon Mason
Browse files

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: default avatarLogan Gunthorpe <logang@deltatee.com>
Reviewed-by: default avatarStephen Bates <sbates@raithlin.com>
Reviewed-by: default avatarKurt Schwemmer <kurt.schwemmer@microsemi.com>
Acked-by: default avatarAllen Hubbe <Allen.Hubbe@dell.com>
Acked-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Signed-off-by: default avatarJon Mason <jdmason@kudzu.us>
parent fa5ab66e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -10348,6 +10348,7 @@ F: Documentation/ABI/testing/sysfs-class-switchtec
F:	drivers/pci/switch/switchtec*
F:	include/uapi/linux/switchtec_ioctl.h
F:	include/linux/switchtec.h
F:	drivers/ntb/hw/mscc/

PCI DRIVER FOR MVEBU (Marvell Armada 370 and Armada XP SOC support)
M:	Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+1 −0
Original line number Diff line number Diff line
source "drivers/ntb/hw/amd/Kconfig"
source "drivers/ntb/hw/idt/Kconfig"
source "drivers/ntb/hw/intel/Kconfig"
source "drivers/ntb/hw/mscc/Kconfig"
+1 −0
Original line number Diff line number Diff line
obj-$(CONFIG_NTB_AMD)	+= amd/
obj-$(CONFIG_NTB_IDT)	+= idt/
obj-$(CONFIG_NTB_INTEL)	+= intel/
obj-$(CONFIG_NTB_SWITCHTEC) += mscc/
+9 −0
Original line number Diff line number Diff line
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.
+1 −0
Original line number Diff line number Diff line
obj-$(CONFIG_NTB_SWITCHTEC) += ntb_hw_switchtec.o
Loading