From: Ramachandra K Date: Sun, 18 Jun 2006 03:37:38 +0000 (-0700) Subject: [SCSI] srp.h: Add I/O Class values X-Git-Tag: v2.6.18-rc1~1110^2~12 X-Git-Url: http://pilppa.org/gitweb/?a=commitdiff_plain;h=73c0996b1ca60338fa50e42acfcebd32b7636a8b;p=linux-2.6-omap-h63xx.git [SCSI] srp.h: Add I/O Class values 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 Signed-off-by: Roland Dreier --- diff --git a/include/scsi/srp.h b/include/scsi/srp.h index 637f77eccf0..ad178fa78f6 100644 --- a/include/scsi/srp.h +++ b/include/scsi/srp.h @@ -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;