diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-11-09 01:37:34 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-09 01:37:34 -0500 |
commit | 8006fdd6dc387abaa4b683bda4868c879fd76070 (patch) | |
tree | 314b08f4923dd9ab24930e6b2ac75889c244b154 /drivers/scsi/libata-scsi.c | |
parent | 18ce920a6eba05c0d55cdc95fbbadf7e4c4b457b (diff) | |
parent | 7c3983357fdaef3ae71a0d7081a4b6dcfd869d39 (diff) |
Merge branch 'upstream'
Diffstat (limited to 'drivers/scsi/libata-scsi.c')
-rw-r--r-- | drivers/scsi/libata-scsi.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c index 0dc5503633a3..d5c4ae19b906 100644 --- a/drivers/scsi/libata-scsi.c +++ b/drivers/scsi/libata-scsi.c | |||
@@ -37,9 +37,9 @@ | |||
37 | #include <linux/blkdev.h> | 37 | #include <linux/blkdev.h> |
38 | #include <linux/spinlock.h> | 38 | #include <linux/spinlock.h> |
39 | #include <scsi/scsi.h> | 39 | #include <scsi/scsi.h> |
40 | #include "scsi.h" | ||
41 | #include <scsi/scsi_host.h> | 40 | #include <scsi/scsi_host.h> |
42 | #include <scsi/scsi_device.h> | 41 | #include <scsi/scsi_device.h> |
42 | #include <scsi/scsi_request.h> | ||
43 | #include <linux/libata.h> | 43 | #include <linux/libata.h> |
44 | #include <linux/hdreg.h> | 44 | #include <linux/hdreg.h> |
45 | #include <asm/uaccess.h> | 45 | #include <asm/uaccess.h> |
@@ -131,7 +131,7 @@ int ata_std_bios_param(struct scsi_device *sdev, struct block_device *bdev, | |||
131 | 131 | ||
132 | /** | 132 | /** |
133 | * ata_cmd_ioctl - Handler for HDIO_DRIVE_CMD ioctl | 133 | * ata_cmd_ioctl - Handler for HDIO_DRIVE_CMD ioctl |
134 | * @dev: Device to whom we are issuing command | 134 | * @scsidev: Device to which we are issuing command |
135 | * @arg: User provided data for issuing command | 135 | * @arg: User provided data for issuing command |
136 | * | 136 | * |
137 | * LOCKING: | 137 | * LOCKING: |
@@ -217,7 +217,7 @@ error: | |||
217 | 217 | ||
218 | /** | 218 | /** |
219 | * ata_task_ioctl - Handler for HDIO_DRIVE_TASK ioctl | 219 | * ata_task_ioctl - Handler for HDIO_DRIVE_TASK ioctl |
220 | * @dev: Device to whom we are issuing command | 220 | * @scsidev: Device to which we are issuing command |
221 | * @arg: User provided data for issuing command | 221 | * @arg: User provided data for issuing command |
222 | * | 222 | * |
223 | * LOCKING: | 223 | * LOCKING: |
@@ -416,6 +416,7 @@ void ata_dump_status(unsigned id, struct ata_taskfile *tf) | |||
416 | 416 | ||
417 | /** | 417 | /** |
418 | * ata_to_sense_error - convert ATA error to SCSI error | 418 | * ata_to_sense_error - convert ATA error to SCSI error |
419 | * @id: ATA device number | ||
419 | * @drv_stat: value contained in ATA status register | 420 | * @drv_stat: value contained in ATA status register |
420 | * @drv_err: value contained in ATA error register | 421 | * @drv_err: value contained in ATA error register |
421 | * @sk: the sense key we'll fill out | 422 | * @sk: the sense key we'll fill out |
@@ -2225,7 +2226,7 @@ ata_scsi_map_proto(u8 byte1) | |||
2225 | /** | 2226 | /** |
2226 | * ata_scsi_pass_thru - convert ATA pass-thru CDB to taskfile | 2227 | * ata_scsi_pass_thru - convert ATA pass-thru CDB to taskfile |
2227 | * @qc: command structure to be initialized | 2228 | * @qc: command structure to be initialized |
2228 | * @cmd: SCSI command to convert | 2229 | * @scsicmd: SCSI command to convert |
2229 | * | 2230 | * |
2230 | * Handles either 12 or 16-byte versions of the CDB. | 2231 | * Handles either 12 or 16-byte versions of the CDB. |
2231 | * | 2232 | * |