diff options
author | Tejun Heo <htejun@gmail.com> | 2006-04-11 09:16:45 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-04-11 13:12:46 -0400 |
commit | 2bf2cb26b2512c6a609bb152982c388329bedff6 (patch) | |
tree | 9f1f3ea5000304fd946f34b24d9904c2a1027480 /drivers/scsi/libata.h | |
parent | db70fef0750e5f8dbb64f9fadb333d2c7caf26a1 (diff) |
[PATCH] libata: kill @verbose from ata_reset_fn_t
@verbose was added to ata_reset_fn_t because AHCI complained during
probing if no device was attached to the port. However, muting
failure message isn't the correct approach. Reset methods are
responsible for detecting no device condition and finishing
successfully. Now that AHCI softreset is fixed, kill @verbose.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi/libata.h')
-rw-r--r-- | drivers/scsi/libata.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/scsi/libata.h b/drivers/scsi/libata.h index b18d377588dc..3f8b0a863781 100644 --- a/drivers/scsi/libata.h +++ b/drivers/scsi/libata.h | |||
@@ -56,10 +56,8 @@ extern int ata_set_sata_spd_needed(struct ata_port *ap); | |||
56 | extern int ata_down_xfermask_limit(struct ata_port *ap, struct ata_device *dev, | 56 | extern int ata_down_xfermask_limit(struct ata_port *ap, struct ata_device *dev, |
57 | int force_pio0); | 57 | int force_pio0); |
58 | extern int ata_set_mode(struct ata_port *ap, struct ata_device **r_failed_dev); | 58 | extern int ata_set_mode(struct ata_port *ap, struct ata_device **r_failed_dev); |
59 | extern int ata_do_reset(struct ata_port *ap, | 59 | extern int ata_do_reset(struct ata_port *ap, ata_reset_fn_t reset, |
60 | ata_reset_fn_t reset, | 60 | ata_postreset_fn_t postreset, unsigned int *classes); |
61 | ata_postreset_fn_t postreset, | ||
62 | int verbose, unsigned int *classes); | ||
63 | extern void ata_qc_free(struct ata_queued_cmd *qc); | 61 | extern void ata_qc_free(struct ata_queued_cmd *qc); |
64 | extern void ata_qc_issue(struct ata_queued_cmd *qc); | 62 | extern void ata_qc_issue(struct ata_queued_cmd *qc); |
65 | extern int ata_check_atapi_dma(struct ata_queued_cmd *qc); | 63 | extern int ata_check_atapi_dma(struct ata_queued_cmd *qc); |