[openib-general] [PATCH] Define IO class values in <scsi/srp.h>

Ramchandra K rkuchimanchi at silverstorm.com
Thu Jun 1 07:12:25 PDT 2006


Hi Roland,

This patch adds IO class values of SRP Rev 10 and Rev 16a to
aid in deciding the port identifier format to be used.

Regards,
Ram

Signed-off-by: Ramachandra K <rkuchimanchi at silverstorm.com>

--- orig/include/scsi/srp.h	2006-06-01 00:45:13.000000000 -0400
+++ wc/include/scsi/srp.h	2006-06-01 00:58:10.000000000 -0400
@@ -44,6 +44,11 @@
 #include <linux/types.h>
 
 enum {
+	SRP_REV10_IO_CLASS	= 0xFF00,
+	SRP_REV16A_IO_CLASS	= 0x0100
+};
+
+enum {
 	SRP_LOGIN_REQ	= 0x00,
 	SRP_TSK_MGMT	= 0x01,
 	SRP_CMD		= 0x02,





More information about the general mailing list