fusion: add mptsas driver
Subsystems (2)
PATCH 2/2 fusion: add mptsas driver
This adds the actual mptsas driver. Based on lsi's driver with the transport class integration and the different discovery scheme added by me. This is pretty minimal still, no support for hotplug or any fancyness yet.
drivers/message/fusion/Kconfig +17 -0
@@ -35,6 +35,23 @@ LSIFC929X LSIFC929XL +config FUSION_SAS + tristate "Fusion MPT ScsiHost drivers for SAS" + depends on PCI && SCSI + select FUSION + select SCSI_SAS_ATTRS + ---help--- + SCSI HOST support for a SAS host adapters. + + List of supported controllers: + + LSISAS1064 + LSISAS1066 + LSISAS1068 + LSISAS1064E + LSISAS1066E + LSISAS1068E + config FUSION_MAX_SGE int "Maximum number of scatter gather entries (16 - 128)" depends on FUSION
drivers/message/fusion/Makefile +1 -0
@@ -34,5 +34,6 @@ obj-$(CONFIG_FUSION_SPI) += mptbase.o mptscsih.o mptspi.o obj-$(CONFIG_FUSION_FC) += mptbase.o mptscsih.o mptfc.o +obj-$(CONFIG_FUSION_SAS) += mptbase.o mptscsih.o mptsas.o obj-$(CONFIG_FUSION_CTL) += mptctl.o obj-$(CONFIG_FUSION_LAN) += mptlan.o
drivers/message/fusion/mptsas.c new file +877 -0
877 lines not on this page · raw message
drivers/message/fusion/mptbase.h +3 -0
@@ -595,6 +595,9 @@int InternalCtx;struct list_head list;struct net_device *netdev; +int num_sas_ports; +struct sas_port **sas_ports; +struct sas_identify *sas_attached; }MPT_ADAPTER ;/*