diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-10 16:39:29 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-10 16:39:29 -0400 |
commit | 5d5870f0a26e2304c4a82592870c5bc88017f7c9 (patch) | |
tree | 8226949fd3daa273ded5a1790974e178b588c8a4 /include | |
parent | 9fa295e12d490fd571c614b221defaa9212c20dc (diff) |
ide: ide_dev_has_iordy() -> ata_id_has_iordy()
* Remove (id[ATA_ID_FIELD_VALID] & 2) check from ide_dev_has_iordy()
(it is for validity of words 64-70, IORDY is in word 49).
* ide_dev_has_iordy() -> ata_id_has_iordy()
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ide.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index e5622bb5a4a1..27829c13bef7 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -1382,11 +1382,6 @@ const char *ide_xfer_verbose(u8 mode); | |||
1382 | extern void ide_toggle_bounce(ide_drive_t *drive, int on); | 1382 | extern void ide_toggle_bounce(ide_drive_t *drive, int on); |
1383 | extern int ide_set_xfer_rate(ide_drive_t *drive, u8 rate); | 1383 | extern int ide_set_xfer_rate(ide_drive_t *drive, u8 rate); |
1384 | 1384 | ||
1385 | static inline int ide_dev_has_iordy(u16 *id) | ||
1386 | { | ||
1387 | return ((id[ATA_ID_FIELD_VALID] & 2) && ata_id_has_iordy(id)) ? 1 : 0; | ||
1388 | } | ||
1389 | |||
1390 | static inline int ide_dev_is_sata(u16 *id) | 1385 | static inline int ide_dev_is_sata(u16 *id) |
1391 | { | 1386 | { |
1392 | /* | 1387 | /* |