diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-10 22:39:29 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-10 22:39:29 +0200 |
commit | 5d5870f0a26e2304c4a82592870c5bc88017f7c9 (patch) | |
tree | 8226949fd3daa273ded5a1790974e178b588c8a4 /drivers/ide | |
parent | 9fa295e12d490fd571c614b221defaa9212c20dc (diff) | |
download | kernel_samsung_smdk4412-5d5870f0a26e2304c4a82592870c5bc88017f7c9.zip kernel_samsung_smdk4412-5d5870f0a26e2304c4a82592870c5bc88017f7c9.tar.gz kernel_samsung_smdk4412-5d5870f0a26e2304c4a82592870c5bc88017f7c9.tar.bz2 |
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 'drivers/ide')
-rw-r--r-- | drivers/ide/pci/sl82c105.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/pci/sl82c105.c b/drivers/ide/pci/sl82c105.c index 61a006c..8cc4e13 100644 --- a/drivers/ide/pci/sl82c105.c +++ b/drivers/ide/pci/sl82c105.c @@ -61,7 +61,7 @@ static unsigned int get_pio_timings(ide_drive_t *drive, u8 pio) if (cmd_off == 0) cmd_off = 1; - if (pio > 2 || ide_dev_has_iordy(drive->id)) + if (pio > 2 || ata_id_has_iordy(drive->id)) iordy = 0x40; return (cmd_on - 1) << 8 | (cmd_off - 1) | iordy; |