diff options
| -rw-r--r-- | drivers/scsi/qla2xxx/qla_iocb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/qla2xxx/qla_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c index 60f6685cb342..19eb18be2316 100644 --- a/drivers/scsi/qla2xxx/qla_iocb.c +++ b/drivers/scsi/qla2xxx/qla_iocb.c | |||
| @@ -973,7 +973,7 @@ alloc_and_fill: | |||
| 973 | /* add new list to cmd iocb or last list */ | 973 | /* add new list to cmd iocb or last list */ |
| 974 | *cur_dsd++ = cpu_to_le32(LSD(dsd_ptr->dsd_list_dma)); | 974 | *cur_dsd++ = cpu_to_le32(LSD(dsd_ptr->dsd_list_dma)); |
| 975 | *cur_dsd++ = cpu_to_le32(MSD(dsd_ptr->dsd_list_dma)); | 975 | *cur_dsd++ = cpu_to_le32(MSD(dsd_ptr->dsd_list_dma)); |
| 976 | *cur_dsd++ = dsd_list_len; | 976 | *cur_dsd++ = cpu_to_le32(dsd_list_len); |
| 977 | cur_dsd = (uint32_t *)next_dsd; | 977 | cur_dsd = (uint32_t *)next_dsd; |
| 978 | } | 978 | } |
| 979 | *cur_dsd++ = cpu_to_le32(LSD(sle_dma)); | 979 | *cur_dsd++ = cpu_to_le32(LSD(sle_dma)); |
| @@ -1072,7 +1072,7 @@ qla24xx_walk_and_build_sglist(struct qla_hw_data *ha, srb_t *sp, uint32_t *dsd, | |||
| 1072 | /* add new list to cmd iocb or last list */ | 1072 | /* add new list to cmd iocb or last list */ |
| 1073 | *cur_dsd++ = cpu_to_le32(LSD(dsd_ptr->dsd_list_dma)); | 1073 | *cur_dsd++ = cpu_to_le32(LSD(dsd_ptr->dsd_list_dma)); |
| 1074 | *cur_dsd++ = cpu_to_le32(MSD(dsd_ptr->dsd_list_dma)); | 1074 | *cur_dsd++ = cpu_to_le32(MSD(dsd_ptr->dsd_list_dma)); |
| 1075 | *cur_dsd++ = dsd_list_len; | 1075 | *cur_dsd++ = cpu_to_le32(dsd_list_len); |
| 1076 | cur_dsd = (uint32_t *)next_dsd; | 1076 | cur_dsd = (uint32_t *)next_dsd; |
| 1077 | } | 1077 | } |
| 1078 | sle_dma = sg_dma_address(sg); | 1078 | sle_dma = sg_dma_address(sg); |
| @@ -1317,7 +1317,7 @@ qla24xx_walk_and_build_prot_sglist(struct qla_hw_data *ha, srb_t *sp, | |||
| 1317 | cpu_to_le32(LSD(dsd_ptr->dsd_list_dma)); | 1317 | cpu_to_le32(LSD(dsd_ptr->dsd_list_dma)); |
| 1318 | *cur_dsd++ = | 1318 | *cur_dsd++ = |
| 1319 | cpu_to_le32(MSD(dsd_ptr->dsd_list_dma)); | 1319 | cpu_to_le32(MSD(dsd_ptr->dsd_list_dma)); |
| 1320 | *cur_dsd++ = dsd_list_len; | 1320 | *cur_dsd++ = cpu_to_le32(dsd_list_len); |
| 1321 | cur_dsd = dsd_ptr->dsd_addr; | 1321 | cur_dsd = dsd_ptr->dsd_addr; |
| 1322 | } | 1322 | } |
| 1323 | *cur_dsd++ = cpu_to_le32(LSD(dif_dsd->dsd_list_dma)); | 1323 | *cur_dsd++ = cpu_to_le32(LSD(dif_dsd->dsd_list_dma)); |
| @@ -1378,7 +1378,7 @@ qla24xx_walk_and_build_prot_sglist(struct qla_hw_data *ha, srb_t *sp, | |||
| 1378 | cpu_to_le32(LSD(dsd_ptr->dsd_list_dma)); | 1378 | cpu_to_le32(LSD(dsd_ptr->dsd_list_dma)); |
| 1379 | *cur_dsd++ = | 1379 | *cur_dsd++ = |
| 1380 | cpu_to_le32(MSD(dsd_ptr->dsd_list_dma)); | 1380 | cpu_to_le32(MSD(dsd_ptr->dsd_list_dma)); |
| 1381 | *cur_dsd++ = dsd_list_len; | 1381 | *cur_dsd++ = cpu_to_le32(dsd_list_len); |
| 1382 | cur_dsd = dsd_ptr->dsd_addr; | 1382 | cur_dsd = dsd_ptr->dsd_addr; |
| 1383 | } | 1383 | } |
| 1384 | sle_dma = sg_dma_address(sg); | 1384 | sle_dma = sg_dma_address(sg); |
