diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2006-01-09 12:18:14 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-01-17 08:25:39 -0500 |
commit | 1bc4ccfff8675adc3d96f91245eb7e2dc0043ca9 (patch) | |
tree | 03bd5a2d64c52dff3c68a66e37f43b4109854170 /include/linux/libata.h | |
parent | ffa29456cd316a5394cdd489de5af3bf87d3c485 (diff) |
[PATCH] libata: add a function to decide if we need iordy
This ought to be simple but for PIO2 we have to poke around the drive
data to get it 100% correct.
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index a43c95f8f968..af6624450f65 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -499,6 +499,8 @@ extern int ata_scsi_slave_config(struct scsi_device *sdev); | |||
499 | /* | 499 | /* |
500 | * Timing helpers | 500 | * Timing helpers |
501 | */ | 501 | */ |
502 | |||
503 | extern unsigned int ata_pio_need_iordy(const struct ata_device *); | ||
502 | extern int ata_timing_compute(struct ata_device *, unsigned short, | 504 | extern int ata_timing_compute(struct ata_device *, unsigned short, |
503 | struct ata_timing *, int, int); | 505 | struct ata_timing *, int, int); |
504 | extern void ata_timing_merge(const struct ata_timing *, | 506 | extern void ata_timing_merge(const struct ata_timing *, |