aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMartin Peschke <mp3@de.ibm.com>2008-05-19 06:17:43 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-06-05 10:27:14 -0400
commite891bffe927f39718cf84c35b380d6edb189848b (patch)
tree4b6fb26379d0b9a02f9ae2ef32c18b713c1d53a4 /drivers
parentd01d51beee4dd9f7ff9caf7491aa1727a318e665 (diff)
[SCSI] zfcp: Rename sbal_curr to sbal_last.
sbal_last is more appropriate, because it matches sbal_first. Signed-off-by: Martin Peschke <mp3@de.ibm.com> Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/s390/scsi/zfcp_dbf.c4
-rw-r--r--drivers/s390/scsi/zfcp_dbf.h2
-rw-r--r--drivers/s390/scsi/zfcp_def.h3
-rw-r--r--drivers/s390/scsi/zfcp_fsf.c36
-rw-r--r--drivers/s390/scsi/zfcp_qdio.c16
5 files changed, 30 insertions, 31 deletions
diff --git a/drivers/s390/scsi/zfcp_dbf.c b/drivers/s390/scsi/zfcp_dbf.c
index efd60c4af4c6..0a2ffc635c77 100644
--- a/drivers/s390/scsi/zfcp_dbf.c
+++ b/drivers/s390/scsi/zfcp_dbf.c
@@ -186,7 +186,7 @@ void zfcp_hba_dbf_event_fsf_response(struct zfcp_fsf_req *fsf_req)
186 fsf_status_qual, FSF_STATUS_QUALIFIER_SIZE); 186 fsf_status_qual, FSF_STATUS_QUALIFIER_SIZE);
187 response->fsf_req_status = fsf_req->status; 187 response->fsf_req_status = fsf_req->status;
188 response->sbal_first = fsf_req->sbal_first; 188 response->sbal_first = fsf_req->sbal_first;
189 response->sbal_curr = fsf_req->sbal_curr; 189 response->sbal_last = fsf_req->sbal_last;
190 response->pool = fsf_req->pool != NULL; 190 response->pool = fsf_req->pool != NULL;
191 response->erp_action = (unsigned long)fsf_req->erp_action; 191 response->erp_action = (unsigned long)fsf_req->erp_action;
192 192
@@ -354,7 +354,7 @@ static void zfcp_hba_dbf_view_response(char **p,
354 FSF_STATUS_QUALIFIER_SIZE, 0, FSF_STATUS_QUALIFIER_SIZE); 354 FSF_STATUS_QUALIFIER_SIZE, 0, FSF_STATUS_QUALIFIER_SIZE);
355 zfcp_dbf_out(p, "fsf_req_status", "0x%08x", r->fsf_req_status); 355 zfcp_dbf_out(p, "fsf_req_status", "0x%08x", r->fsf_req_status);
356 zfcp_dbf_out(p, "sbal_first", "0x%02x", r->sbal_first); 356 zfcp_dbf_out(p, "sbal_first", "0x%02x", r->sbal_first);
357 zfcp_dbf_out(p, "sbal_curr", "0x%02x", r->sbal_curr); 357 zfcp_dbf_out(p, "sbal_last", "0x%02x", r->sbal_last);
358 zfcp_dbf_out(p, "pool", "0x%02x", r->pool); 358 zfcp_dbf_out(p, "pool", "0x%02x", r->pool);
359 359
360 switch (r->fsf_command) { 360 switch (r->fsf_command) {
diff --git a/drivers/s390/scsi/zfcp_dbf.h b/drivers/s390/scsi/zfcp_dbf.h
index 66b8754840b2..212622ca2e80 100644
--- a/drivers/s390/scsi/zfcp_dbf.h
+++ b/drivers/s390/scsi/zfcp_dbf.h
@@ -97,7 +97,7 @@ struct zfcp_hba_dbf_record_response {
97 u8 fsf_status_qual[FSF_STATUS_QUALIFIER_SIZE]; 97 u8 fsf_status_qual[FSF_STATUS_QUALIFIER_SIZE];
98 u32 fsf_req_status; 98 u32 fsf_req_status;
99 u8 sbal_first; 99 u8 sbal_first;
100 u8 sbal_curr; 100 u8 sbal_last;
101 u8 pool; 101 u8 pool;
102 u64 erp_action; 102 u64 erp_action;
103 union { 103 union {
diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h
index fdd5520eb3d2..210273d97f00 100644
--- a/drivers/s390/scsi/zfcp_def.h
+++ b/drivers/s390/scsi/zfcp_def.h
@@ -851,10 +851,9 @@ struct zfcp_fsf_req {
851 struct zfcp_adapter *adapter; /* adapter request belongs to */ 851 struct zfcp_adapter *adapter; /* adapter request belongs to */
852 u8 sbal_number; /* nr of SBALs free for use */ 852 u8 sbal_number; /* nr of SBALs free for use */
853 u8 sbal_first; /* first SBAL for this request */ 853 u8 sbal_first; /* first SBAL for this request */
854 u8 sbal_last; /* last SBAL for this request */
854 u8 sbal_limit; /* last possible SBAL for 855 u8 sbal_limit; /* last possible SBAL for
855 this reuest */ 856 this reuest */
856 u8 sbal_curr; /* current SBAL during creation
857 of request */
858 u8 sbale_curr; /* current SBALE during creation 857 u8 sbale_curr; /* current SBALE during creation
859 of request */ 858 of request */
860 wait_queue_head_t completion_wq; /* can be used by a routine 859 wait_queue_head_t completion_wq; /* can be used by a routine
diff --git a/drivers/s390/scsi/zfcp_fsf.c b/drivers/s390/scsi/zfcp_fsf.c
index 2f27d03e61c2..01f9b27daa8c 100644
--- a/drivers/s390/scsi/zfcp_fsf.c
+++ b/drivers/s390/scsi/zfcp_fsf.c
@@ -726,7 +726,7 @@ zfcp_fsf_status_read(struct zfcp_adapter *adapter, int req_flags)
726 goto failed_req_create; 726 goto failed_req_create;
727 } 727 }
728 728
729 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_curr, 0); 729 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_last, 0);
730 sbale[0].flags |= SBAL_FLAGS0_TYPE_STATUS; 730 sbale[0].flags |= SBAL_FLAGS0_TYPE_STATUS;
731 sbale[2].flags |= SBAL_FLAGS_LAST_ENTRY; 731 sbale[2].flags |= SBAL_FLAGS_LAST_ENTRY;
732 fsf_req->sbale_curr = 2; 732 fsf_req->sbale_curr = 2;
@@ -1075,7 +1075,7 @@ zfcp_fsf_abort_fcp_command(unsigned long old_req_id,
1075 &unit->status))) 1075 &unit->status)))
1076 goto unit_blocked; 1076 goto unit_blocked;
1077 1077
1078 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_curr, 0); 1078 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_last, 0);
1079 sbale[0].flags |= SBAL_FLAGS0_TYPE_READ; 1079 sbale[0].flags |= SBAL_FLAGS0_TYPE_READ;
1080 sbale[1].flags |= SBAL_FLAGS_LAST_ENTRY; 1080 sbale[1].flags |= SBAL_FLAGS_LAST_ENTRY;
1081 1081
@@ -1295,7 +1295,7 @@ zfcp_fsf_send_ct(struct zfcp_send_ct *ct, mempool_t *pool,
1295 goto failed_req; 1295 goto failed_req;
1296 } 1296 }
1297 1297
1298 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_curr, 0); 1298 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_last, 0);
1299 if (zfcp_use_one_sbal(ct->req, ct->req_count, 1299 if (zfcp_use_one_sbal(ct->req, ct->req_count,
1300 ct->resp, ct->resp_count)){ 1300 ct->resp, ct->resp_count)){
1301 /* both request buffer and response buffer 1301 /* both request buffer and response buffer
@@ -1593,7 +1593,7 @@ zfcp_fsf_send_els(struct zfcp_send_els *els)
1593 goto port_blocked; 1593 goto port_blocked;
1594 } 1594 }
1595 1595
1596 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_curr, 0); 1596 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_last, 0);
1597 if (zfcp_use_one_sbal(els->req, els->req_count, 1597 if (zfcp_use_one_sbal(els->req, els->req_count,
1598 els->resp, els->resp_count)){ 1598 els->resp, els->resp_count)){
1599 /* both request buffer and response buffer 1599 /* both request buffer and response buffer
@@ -1657,7 +1657,7 @@ zfcp_fsf_send_els(struct zfcp_send_els *els)
1657 fsf_req->qtcb->bottom.support.timeout = ZFCP_ELS_TIMEOUT; 1657 fsf_req->qtcb->bottom.support.timeout = ZFCP_ELS_TIMEOUT;
1658 fsf_req->data = (unsigned long) els; 1658 fsf_req->data = (unsigned long) els;
1659 1659
1660 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_curr, 0); 1660 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_last, 0);
1661 1661
1662 zfcp_san_dbf_event_els_request(fsf_req); 1662 zfcp_san_dbf_event_els_request(fsf_req);
1663 1663
@@ -1872,7 +1872,7 @@ zfcp_fsf_exchange_config_data(struct zfcp_erp_action *erp_action)
1872 return retval; 1872 return retval;
1873 } 1873 }
1874 1874
1875 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_curr, 0); 1875 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_last, 0);
1876 sbale[0].flags |= SBAL_FLAGS0_TYPE_READ; 1876 sbale[0].flags |= SBAL_FLAGS0_TYPE_READ;
1877 sbale[1].flags |= SBAL_FLAGS_LAST_ENTRY; 1877 sbale[1].flags |= SBAL_FLAGS_LAST_ENTRY;
1878 1878
@@ -1925,7 +1925,7 @@ zfcp_fsf_exchange_config_data_sync(struct zfcp_adapter *adapter,
1925 return retval; 1925 return retval;
1926 } 1926 }
1927 1927
1928 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_curr, 0); 1928 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_last, 0);
1929 sbale[0].flags |= SBAL_FLAGS0_TYPE_READ; 1929 sbale[0].flags |= SBAL_FLAGS0_TYPE_READ;
1930 sbale[1].flags |= SBAL_FLAGS_LAST_ENTRY; 1930 sbale[1].flags |= SBAL_FLAGS_LAST_ENTRY;
1931 1931
@@ -2187,7 +2187,7 @@ zfcp_fsf_exchange_port_data(struct zfcp_erp_action *erp_action)
2187 return retval; 2187 return retval;
2188 } 2188 }
2189 2189
2190 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_curr, 0); 2190 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_last, 0);
2191 sbale[0].flags |= SBAL_FLAGS0_TYPE_READ; 2191 sbale[0].flags |= SBAL_FLAGS0_TYPE_READ;
2192 sbale[1].flags |= SBAL_FLAGS_LAST_ENTRY; 2192 sbale[1].flags |= SBAL_FLAGS_LAST_ENTRY;
2193 2193
@@ -2249,7 +2249,7 @@ zfcp_fsf_exchange_port_data_sync(struct zfcp_adapter *adapter,
2249 if (data) 2249 if (data)
2250 fsf_req->data = (unsigned long) data; 2250 fsf_req->data = (unsigned long) data;
2251 2251
2252 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_curr, 0); 2252 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_last, 0);
2253 sbale[0].flags |= SBAL_FLAGS0_TYPE_READ; 2253 sbale[0].flags |= SBAL_FLAGS0_TYPE_READ;
2254 sbale[1].flags |= SBAL_FLAGS_LAST_ENTRY; 2254 sbale[1].flags |= SBAL_FLAGS_LAST_ENTRY;
2255 2255
@@ -2359,7 +2359,7 @@ zfcp_fsf_open_port(struct zfcp_erp_action *erp_action)
2359 goto out; 2359 goto out;
2360 } 2360 }
2361 2361
2362 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_curr, 0); 2362 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_last, 0);
2363 sbale[0].flags |= SBAL_FLAGS0_TYPE_READ; 2363 sbale[0].flags |= SBAL_FLAGS0_TYPE_READ;
2364 sbale[1].flags |= SBAL_FLAGS_LAST_ENTRY; 2364 sbale[1].flags |= SBAL_FLAGS_LAST_ENTRY;
2365 2365
@@ -2591,7 +2591,7 @@ zfcp_fsf_close_port(struct zfcp_erp_action *erp_action)
2591 goto out; 2591 goto out;
2592 } 2592 }
2593 2593
2594 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_curr, 0); 2594 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_last, 0);
2595 sbale[0].flags |= SBAL_FLAGS0_TYPE_READ; 2595 sbale[0].flags |= SBAL_FLAGS0_TYPE_READ;
2596 sbale[1].flags |= SBAL_FLAGS_LAST_ENTRY; 2596 sbale[1].flags |= SBAL_FLAGS_LAST_ENTRY;
2597 2597
@@ -2720,7 +2720,7 @@ zfcp_fsf_close_physical_port(struct zfcp_erp_action *erp_action)
2720 goto out; 2720 goto out;
2721 } 2721 }
2722 2722
2723 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_curr, 0); 2723 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_last, 0);
2724 sbale[0].flags |= SBAL_FLAGS0_TYPE_READ; 2724 sbale[0].flags |= SBAL_FLAGS0_TYPE_READ;
2725 sbale[1].flags |= SBAL_FLAGS_LAST_ENTRY; 2725 sbale[1].flags |= SBAL_FLAGS_LAST_ENTRY;
2726 2726
@@ -2915,7 +2915,7 @@ zfcp_fsf_open_unit(struct zfcp_erp_action *erp_action)
2915 goto out; 2915 goto out;
2916 } 2916 }
2917 2917
2918 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_curr, 0); 2918 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_last, 0);
2919 sbale[0].flags |= SBAL_FLAGS0_TYPE_READ; 2919 sbale[0].flags |= SBAL_FLAGS0_TYPE_READ;
2920 sbale[1].flags |= SBAL_FLAGS_LAST_ENTRY; 2920 sbale[1].flags |= SBAL_FLAGS_LAST_ENTRY;
2921 2921
@@ -3230,7 +3230,7 @@ zfcp_fsf_close_unit(struct zfcp_erp_action *erp_action)
3230 goto out; 3230 goto out;
3231 } 3231 }
3232 3232
3233 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_curr, 0); 3233 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_last, 0);
3234 sbale[0].flags |= SBAL_FLAGS0_TYPE_READ; 3234 sbale[0].flags |= SBAL_FLAGS0_TYPE_READ;
3235 sbale[1].flags |= SBAL_FLAGS_LAST_ENTRY; 3235 sbale[1].flags |= SBAL_FLAGS_LAST_ENTRY;
3236 3236
@@ -3613,7 +3613,7 @@ zfcp_fsf_send_fcp_command_task_management(struct zfcp_adapter *adapter,
3613 fsf_req->qtcb->bottom.io.fcp_cmnd_length = 3613 fsf_req->qtcb->bottom.io.fcp_cmnd_length =
3614 sizeof (struct fcp_cmnd_iu) + sizeof (fcp_dl_t); 3614 sizeof (struct fcp_cmnd_iu) + sizeof (fcp_dl_t);
3615 3615
3616 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_curr, 0); 3616 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_last, 0);
3617 sbale[0].flags |= SBAL_FLAGS0_TYPE_WRITE; 3617 sbale[0].flags |= SBAL_FLAGS0_TYPE_WRITE;
3618 sbale[1].flags |= SBAL_FLAGS_LAST_ENTRY; 3618 sbale[1].flags |= SBAL_FLAGS_LAST_ENTRY;
3619 3619
@@ -4238,7 +4238,7 @@ zfcp_fsf_control_file(struct zfcp_adapter *adapter,
4238 goto unlock_queue_lock; 4238 goto unlock_queue_lock;
4239 } 4239 }
4240 4240
4241 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_curr, 0); 4241 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_last, 0);
4242 sbale[0].flags |= direction; 4242 sbale[0].flags |= direction;
4243 4243
4244 bottom = &fsf_req->qtcb->bottom.support; 4244 bottom = &fsf_req->qtcb->bottom.support;
@@ -4590,14 +4590,14 @@ zfcp_fsf_req_create(struct zfcp_adapter *adapter, u32 fsf_cmd, int req_flags,
4590 } 4590 }
4591 fsf_req->sbal_number = 1; 4591 fsf_req->sbal_number = 1;
4592 fsf_req->sbal_first = req_queue->free_index; 4592 fsf_req->sbal_first = req_queue->free_index;
4593 fsf_req->sbal_curr = req_queue->free_index; 4593 fsf_req->sbal_last = req_queue->free_index;
4594 fsf_req->sbale_curr = 1; 4594 fsf_req->sbale_curr = 1;
4595 4595
4596 if (likely(req_flags & ZFCP_REQ_AUTO_CLEANUP)) { 4596 if (likely(req_flags & ZFCP_REQ_AUTO_CLEANUP)) {
4597 fsf_req->status |= ZFCP_STATUS_FSFREQ_CLEANUP; 4597 fsf_req->status |= ZFCP_STATUS_FSFREQ_CLEANUP;
4598 } 4598 }
4599 4599
4600 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_curr, 0); 4600 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_last, 0);
4601 4601
4602 /* setup common SBALE fields */ 4602 /* setup common SBALE fields */
4603 sbale[0].addr = (void *) fsf_req->req_id; 4603 sbale[0].addr = (void *) fsf_req->req_id;
diff --git a/drivers/s390/scsi/zfcp_qdio.c b/drivers/s390/scsi/zfcp_qdio.c
index b6b6b36c6f20..8c83cdc73d98 100644
--- a/drivers/s390/scsi/zfcp_qdio.c
+++ b/drivers/s390/scsi/zfcp_qdio.c
@@ -415,7 +415,7 @@ zfcp_qdio_sbale_resp(struct zfcp_fsf_req *fsf_req, int sbal, int sbale)
415volatile struct qdio_buffer_element * 415volatile struct qdio_buffer_element *
416zfcp_qdio_sbale_curr(struct zfcp_fsf_req *fsf_req) 416zfcp_qdio_sbale_curr(struct zfcp_fsf_req *fsf_req)
417{ 417{
418 return zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_curr, 418 return zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_last,
419 fsf_req->sbale_curr); 419 fsf_req->sbale_curr);
420} 420}
421 421
@@ -443,7 +443,7 @@ zfcp_qdio_sbal_limit(struct zfcp_fsf_req *fsf_req, int max_sbals)
443 * @fsf_req: zfcp_fsf_req to be processed 443 * @fsf_req: zfcp_fsf_req to be processed
444 * @sbtype: SBAL flags which have to be set in first SBALE of new SBAL 444 * @sbtype: SBAL flags which have to be set in first SBALE of new SBAL
445 * 445 *
446 * This function changes sbal_curr, sbale_curr, sbal_number of fsf_req. 446 * This function changes sbal_last, sbale_curr, sbal_number of fsf_req.
447 */ 447 */
448static volatile struct qdio_buffer_element * 448static volatile struct qdio_buffer_element *
449zfcp_qdio_sbal_chain(struct zfcp_fsf_req *fsf_req, unsigned long sbtype) 449zfcp_qdio_sbal_chain(struct zfcp_fsf_req *fsf_req, unsigned long sbtype)
@@ -455,16 +455,16 @@ zfcp_qdio_sbal_chain(struct zfcp_fsf_req *fsf_req, unsigned long sbtype)
455 sbale->flags |= SBAL_FLAGS_LAST_ENTRY; 455 sbale->flags |= SBAL_FLAGS_LAST_ENTRY;
456 456
457 /* don't exceed last allowed SBAL */ 457 /* don't exceed last allowed SBAL */
458 if (fsf_req->sbal_curr == fsf_req->sbal_limit) 458 if (fsf_req->sbal_last == fsf_req->sbal_limit)
459 return NULL; 459 return NULL;
460 460
461 /* set chaining flag in first SBALE of current SBAL */ 461 /* set chaining flag in first SBALE of current SBAL */
462 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_curr, 0); 462 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_last, 0);
463 sbale->flags |= SBAL_FLAGS0_MORE_SBALS; 463 sbale->flags |= SBAL_FLAGS0_MORE_SBALS;
464 464
465 /* calculate index of next SBAL */ 465 /* calculate index of next SBAL */
466 fsf_req->sbal_curr++; 466 fsf_req->sbal_last++;
467 fsf_req->sbal_curr %= QDIO_MAX_BUFFERS_PER_Q; 467 fsf_req->sbal_last %= QDIO_MAX_BUFFERS_PER_Q;
468 468
469 /* keep this requests number of SBALs up-to-date */ 469 /* keep this requests number of SBALs up-to-date */
470 fsf_req->sbal_number++; 470 fsf_req->sbal_number++;
@@ -523,7 +523,7 @@ static inline int
523zfcp_qdio_sbals_wipe(struct zfcp_fsf_req *fsf_req) 523zfcp_qdio_sbals_wipe(struct zfcp_fsf_req *fsf_req)
524{ 524{
525 return zfcp_qdio_sbals_zero(&fsf_req->adapter->request_queue, 525 return zfcp_qdio_sbals_zero(&fsf_req->adapter->request_queue,
526 fsf_req->sbal_first, fsf_req->sbal_curr); 526 fsf_req->sbal_first, fsf_req->sbal_last);
527} 527}
528 528
529 529
@@ -601,7 +601,7 @@ zfcp_qdio_sbals_from_sg(struct zfcp_fsf_req *fsf_req, unsigned long sbtype,
601 zfcp_qdio_sbal_limit(fsf_req, max_sbals); 601 zfcp_qdio_sbal_limit(fsf_req, max_sbals);
602 602
603 /* set storage-block type for current SBAL */ 603 /* set storage-block type for current SBAL */
604 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_curr, 0); 604 sbale = zfcp_qdio_sbale_req(fsf_req, fsf_req->sbal_last, 0);
605 sbale->flags |= sbtype; 605 sbale->flags |= sbtype;
606 606
607 /* process all segements of scatter-gather list */ 607 /* process all segements of scatter-gather list */