aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/atp870u.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/atp870u.c')
-rw-r--r--drivers/scsi/atp870u.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/atp870u.c b/drivers/scsi/atp870u.c
index a198d86667e9..3ee4d4d3f445 100644
--- a/drivers/scsi/atp870u.c
+++ b/drivers/scsi/atp870u.c
@@ -473,7 +473,7 @@ go_42:
473 */ 473 */
474 if (workreq->use_sg) { 474 if (workreq->use_sg) {
475 pci_unmap_sg(dev->pdev, 475 pci_unmap_sg(dev->pdev,
476 (struct scatterlist *)workreq->buffer, 476 (struct scatterlist *)workreq->request_buffer,
477 workreq->use_sg, 477 workreq->use_sg,
478 workreq->sc_data_direction); 478 workreq->sc_data_direction);
479 } else if (workreq->request_bufflen && 479 } else if (workreq->request_bufflen &&
@@ -3047,7 +3047,7 @@ flash_ok_885:
3047 if (atp_dev.chip_ver == 4) 3047 if (atp_dev.chip_ver == 4)
3048 shpnt->max_id = 16; 3048 shpnt->max_id = 16;
3049 else 3049 else
3050 shpnt->max_id = 7; 3050 shpnt->max_id = 8;
3051 shpnt->this_id = host_id; 3051 shpnt->this_id = host_id;
3052 shpnt->unique_id = base_io; 3052 shpnt->unique_id = base_io;
3053 shpnt->io_port = base_io; 3053 shpnt->io_port = base_io;