diff options
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/fc_encode.h | 7 | ||||
-rw-r--r-- | include/scsi/libfc.h | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/include/scsi/fc_encode.h b/include/scsi/fc_encode.h index 9b4867c9c2d2..6d293c846a46 100644 --- a/include/scsi/fc_encode.h +++ b/include/scsi/fc_encode.h | |||
@@ -21,6 +21,13 @@ | |||
21 | #define _FC_ENCODE_H_ | 21 | #define _FC_ENCODE_H_ |
22 | #include <asm/unaligned.h> | 22 | #include <asm/unaligned.h> |
23 | 23 | ||
24 | /* | ||
25 | * F_CTL values for simple requests and responses. | ||
26 | */ | ||
27 | #define FC_FCTL_REQ (FC_FC_FIRST_SEQ | FC_FC_END_SEQ | FC_FC_SEQ_INIT) | ||
28 | #define FC_FCTL_RESP (FC_FC_EX_CTX | FC_FC_LAST_SEQ | \ | ||
29 | FC_FC_END_SEQ | FC_FC_SEQ_INIT) | ||
30 | |||
24 | struct fc_ns_rft { | 31 | struct fc_ns_rft { |
25 | struct fc_ns_fid fid; /* port ID object */ | 32 | struct fc_ns_fid fid; /* port ID object */ |
26 | struct fc_ns_fts fts; /* FC4-types object */ | 33 | struct fc_ns_fts fts; /* FC4-types object */ |
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h index f1ce793f33b3..a6414ec63809 100644 --- a/include/scsi/libfc.h +++ b/include/scsi/libfc.h | |||
@@ -1027,6 +1027,10 @@ struct fc_seq *fc_elsct_send(struct fc_lport *, u32 did, | |||
1027 | void *arg, u32 timer_msec); | 1027 | void *arg, u32 timer_msec); |
1028 | void fc_lport_flogi_resp(struct fc_seq *, struct fc_frame *, void *); | 1028 | void fc_lport_flogi_resp(struct fc_seq *, struct fc_frame *, void *); |
1029 | void fc_lport_logo_resp(struct fc_seq *, struct fc_frame *, void *); | 1029 | void fc_lport_logo_resp(struct fc_seq *, struct fc_frame *, void *); |
1030 | void fc_fill_reply_hdr(struct fc_frame *, const struct fc_frame *, | ||
1031 | enum fc_rctl, u32 parm_offset); | ||
1032 | void fc_fill_hdr(struct fc_frame *, const struct fc_frame *, | ||
1033 | enum fc_rctl, u32 f_ctl, u16 seq_cnt, u32 parm_offset); | ||
1030 | 1034 | ||
1031 | 1035 | ||
1032 | /* | 1036 | /* |