]> err.no Git - linux-2.6/commitdiff
[SCSI] srp.h: Add I/O Class values
authorRamachandra K <rkuchimanchi@silverstorm.com>
Sun, 18 Jun 2006 03:37:38 +0000 (20:37 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sun, 18 Jun 2006 03:37:38 +0000 (20:37 -0700)
Add enum values for I/O Class values from rev. 10 and rev. 16a SRP
drafts.  The values are used to detect targets that implement obsolete
revisions of SRP, so that the initiator can use the old format for
port identifier when connecting to them.

Signed-off-by: Ramachandra K <rkuchimanchi@silverstorm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
include/scsi/srp.h

index 637f77eccf0c77d491a6c6a4e7d6b54ed115f645..ad178fa78f665a69fba3b4d26e66c9aee9443d75 100644 (file)
@@ -87,6 +87,11 @@ enum srp_login_rej_reason {
        SRP_LOGIN_REJ_CHANNEL_LIMIT_REACHED             = 0x00010006
 };
 
+enum {
+       SRP_REV10_IB_IO_CLASS   = 0xff00,
+       SRP_REV16A_IB_IO_CLASS  = 0x0100
+};
+
 struct srp_direct_buf {
        __be64  va;
        __be32  key;