diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-06-22 22:11:56 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-06-22 22:11:56 -0400 |
commit | 71d530cd1b6d97094481002a04c77fea1c8e1c22 (patch) | |
tree | e786da7145d83c19a594adf76ed90d52c51058b1 /drivers/scsi/libata-scsi.c | |
parent | d7a80dad2fe19a2b8c119c8e9cba605474a75a2b (diff) | |
parent | d588fcbe5a7ba8bba2cebf7799ab2d573717a806 (diff) |
Merge branch 'master' into upstream
Conflicts:
drivers/scsi/libata-core.c
drivers/scsi/libata-scsi.c
include/linux/pci_ids.h
Diffstat (limited to 'drivers/scsi/libata-scsi.c')
-rw-r--r-- | drivers/scsi/libata-scsi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c index 32c1df69091b..9698949fa52a 100644 --- a/drivers/scsi/libata-scsi.c +++ b/drivers/scsi/libata-scsi.c | |||
@@ -38,9 +38,9 @@ | |||
38 | #include <linux/spinlock.h> | 38 | #include <linux/spinlock.h> |
39 | #include <scsi/scsi.h> | 39 | #include <scsi/scsi.h> |
40 | #include <scsi/scsi_host.h> | 40 | #include <scsi/scsi_host.h> |
41 | #include <scsi/scsi_cmnd.h> | ||
41 | #include <scsi/scsi_eh.h> | 42 | #include <scsi/scsi_eh.h> |
42 | #include <scsi/scsi_device.h> | 43 | #include <scsi/scsi_device.h> |
43 | #include <scsi/scsi_request.h> | ||
44 | #include <scsi/scsi_tcq.h> | 44 | #include <scsi/scsi_tcq.h> |
45 | #include <scsi/scsi_transport.h> | 45 | #include <scsi/scsi_transport.h> |
46 | #include <linux/libata.h> | 46 | #include <linux/libata.h> |
@@ -2351,7 +2351,7 @@ static unsigned int atapi_xlat(struct ata_queued_cmd *qc, const u8 *scsicmd) | |||
2351 | qc->tf.feature |= ATAPI_DMADIR; | 2351 | qc->tf.feature |= ATAPI_DMADIR; |
2352 | } | 2352 | } |
2353 | 2353 | ||
2354 | qc->nbytes = cmd->bufflen; | 2354 | qc->nbytes = cmd->request_bufflen; |
2355 | 2355 | ||
2356 | return 0; | 2356 | return 0; |
2357 | } | 2357 | } |
@@ -2553,7 +2553,7 @@ ata_scsi_pass_thru(struct ata_queued_cmd *qc, const u8 *scsicmd) | |||
2553 | * TODO: find out if we need to do more here to | 2553 | * TODO: find out if we need to do more here to |
2554 | * cover scatter/gather case. | 2554 | * cover scatter/gather case. |
2555 | */ | 2555 | */ |
2556 | qc->nsect = cmd->bufflen / ATA_SECT_SIZE; | 2556 | qc->nsect = cmd->request_bufflen / ATA_SECT_SIZE; |
2557 | 2557 | ||
2558 | /* request result TF */ | 2558 | /* request result TF */ |
2559 | qc->flags |= ATA_QCFLAG_RESULT_TF; | 2559 | qc->flags |= ATA_QCFLAG_RESULT_TF; |