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>
Showing
- MAINTAINERS 1 addition, 0 deletionsMAINTAINERS
- drivers/ntb/hw/Kconfig 1 addition, 0 deletionsdrivers/ntb/hw/Kconfig
- drivers/ntb/hw/Makefile 1 addition, 0 deletionsdrivers/ntb/hw/Makefile
- drivers/ntb/hw/mscc/Kconfig 9 additions, 0 deletionsdrivers/ntb/hw/mscc/Kconfig
- drivers/ntb/hw/mscc/Makefile 1 addition, 0 deletionsdrivers/ntb/hw/mscc/Makefile
- drivers/ntb/hw/mscc/ntb_hw_switchtec.c 81 additions, 0 deletionsdrivers/ntb/hw/mscc/ntb_hw_switchtec.c
- drivers/pci/switch/switchtec.c 3 additions, 0 deletionsdrivers/pci/switch/switchtec.c
- include/linux/switchtec.h 4 additions, 0 deletionsinclude/linux/switchtec.h
Please register or sign in to comment