diff options
author | Bhanu Prakash Gollapudi <bprakash@broadcom.com> | 2011-07-27 11:32:05 -0700 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-07-28 11:42:57 +0400 |
commit | 6c5a7ce4f176b641fd11e59be4df31ee3e6202dd (patch) | |
tree | 676e052ad6c2ac3868e934a9f22e2f5528d6a8f3 /drivers/scsi/bnx2fc/bnx2fc_els.c | |
parent | d6857595394f1fa5c5752eae9bb6045c067fa41e (diff) | |
download | kernel_goldelico_gta04-6c5a7ce4f176b641fd11e59be4df31ee3e6202dd.zip kernel_goldelico_gta04-6c5a7ce4f176b641fd11e59be4df31ee3e6202dd.tar.gz kernel_goldelico_gta04-6c5a7ce4f176b641fd11e59be4df31ee3e6202dd.tar.bz2 |
[SCSI] bnx2fc: Support 'sequence cleanup' task
For the devices that support sequence level error recovery, based on the REC
response, the firmware has to be informed about the offset from which the
retransmission should happen. Driver initiates sequence cleanup task to
firmware so that the firmware can program the task. Upon the sequence cleanup
completion, SRR is issued to retransmit the sequence.
Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bnx2fc/bnx2fc_els.c')
-rw-r--r-- | drivers/scsi/bnx2fc/bnx2fc_els.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/scsi/bnx2fc/bnx2fc_els.c b/drivers/scsi/bnx2fc/bnx2fc_els.c index 5d7baa2..75d0b6a 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_els.c +++ b/drivers/scsi/bnx2fc/bnx2fc_els.c @@ -253,6 +253,26 @@ int bnx2fc_send_rls(struct bnx2fc_rport *tgt, struct fc_frame *fp) return rc; } +int bnx2fc_send_rec(struct bnx2fc_cmd *orig_io_req) +{ + /* + * Dummy function to enable compiling individual patches. Real function + * is in the next patch. + */ + return 0; +} + +int bnx2fc_send_srr(struct bnx2fc_cmd *orig_io_req, u32 offset, u8 r_ctl) +{ + /* + * Dummy function to enable compiling individual patches. Real function + * is in the next patch. + */ + return 0; +} + + + static int bnx2fc_initiate_els(struct bnx2fc_rport *tgt, unsigned int op, void *data, u32 data_len, void (*cb_func)(struct bnx2fc_els_cb_arg *cb_arg), |