diff options
author | FUJITA Tomonori <tomof@acm.org> | 2006-03-25 13:57:14 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-04-13 11:13:17 -0400 |
commit | ef265673434680f2307ceafae4a2badc657e94cc (patch) | |
tree | 2cb37e46c89673b65dde2e20685517a3106f84bf /drivers/scsi/ibmvscsi/viosrp.h | |
parent | 9b833e428ad24dc7cec2c0c7e6898caa91449c95 (diff) |
[SCSI] ibmvscsi: convert the ibmvscsi driver to use include/scsi/srp.h
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/ibmvscsi/viosrp.h')
-rw-r--r-- | drivers/scsi/ibmvscsi/viosrp.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/drivers/scsi/ibmvscsi/viosrp.h b/drivers/scsi/ibmvscsi/viosrp.h index 6a6bba8a2f34..90f1a61283ad 100644 --- a/drivers/scsi/ibmvscsi/viosrp.h +++ b/drivers/scsi/ibmvscsi/viosrp.h | |||
@@ -33,7 +33,22 @@ | |||
33 | /*****************************************************************************/ | 33 | /*****************************************************************************/ |
34 | #ifndef VIOSRP_H | 34 | #ifndef VIOSRP_H |
35 | #define VIOSRP_H | 35 | #define VIOSRP_H |
36 | #include "srp.h" | 36 | #include <scsi/srp.h> |
37 | |||
38 | #define SRP_VERSION "16.a" | ||
39 | #define SRP_MAX_IU_LEN 256 | ||
40 | |||
41 | union srp_iu { | ||
42 | struct srp_login_req login_req; | ||
43 | struct srp_login_rsp login_rsp; | ||
44 | struct srp_login_rej login_rej; | ||
45 | struct srp_i_logout i_logout; | ||
46 | struct srp_t_logout t_logout; | ||
47 | struct srp_tsk_mgmt tsk_mgmt; | ||
48 | struct srp_cmd cmd; | ||
49 | struct srp_rsp rsp; | ||
50 | u8 reserved[SRP_MAX_IU_LEN]; | ||
51 | }; | ||
37 | 52 | ||
38 | enum viosrp_crq_formats { | 53 | enum viosrp_crq_formats { |
39 | VIOSRP_SRP_FORMAT = 0x01, | 54 | VIOSRP_SRP_FORMAT = 0x01, |