Skip to contentSkip to conversation

SAS transport class

PATCH New Christoph Hellwig 1 participant 1 message Sep 4, 2005 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SAS transport class

New version of the SAS transport class. This now introduces the concept of remote ports as suggested by James Smart. Also ports can be layer ontop of remote ports in addition to scsi hosts to support extenders, although that functionality is rather theoretical as I didn't manage to update the Fusion driver for that support yet. I've also improved the handling of ports quite a bit, there's a sas_remove_host now that gets rid of all ports and remote ports, and the API to create ports makes much more sense.

There's still quite a few review comments I haven't addresses but I wanted to get a snapshot with support for extenders out.

drivers/scsi/Kconfig +7 -0
Index: scsi-misc-2.6/drivers/scsi/Kconfig
===================================================================
@@ -235,6 +235,13 @@
 	  each attached iSCSI device to sysfs, say Y.
 	  Otherwise, say N.
 
+config SCSI_SAS_ATTRS
+	tristate "SAS Transport Attributes"
+	depends on SCSI
+	help
+	  If you wish to export transport-specific information about
+	  each attached SAS device to sysfs, say Y.
+
 endmenu
 
 menu "SCSI low-level drivers"
drivers/scsi/Makefile +1 -0
Index: scsi-misc-2.6/drivers/scsi/Makefile
===================================================================
@@ -31,6 +31,7 @@
 obj-$(CONFIG_SCSI_SPI_ATTRS)	+= scsi_transport_spi.o
 obj-$(CONFIG_SCSI_FC_ATTRS) 	+= scsi_transport_fc.o
 obj-$(CONFIG_SCSI_ISCSI_ATTRS)	+= scsi_transport_iscsi.o
+obj-$(CONFIG_SCSI_SAS_ATTRS)	+= scsi_transport_sas.o
 
 obj-$(CONFIG_SCSI_AMIGA7XX)	+= amiga7xx.o	53c7xx.o
 obj-$(CONFIG_A3000_SCSI)	+= a3000.o	wd33c93.o
drivers/scsi/scsi_transport_sas.c new file +795 -0

795 lines not on this page · raw message

include/scsi/scsi_transport_sas.h new file +101 -0

101 lines not on this page · raw message