Skip to contentSkip to conversation

ata_pio_need_iordy vs. CF spec. V4.1

DISCUSSION David Daney 3 participants 3 messages Nov 24, 2008 libata

lore
Share & tools
lore
#0 lore raw

Table 22 on page 51 of CF Specification Rev. 4.1 indicates that iordy is not supported in PIO5 and PIO6. This seems to be in conflict with the code in ata_pio_need_iordy, which asserts that it is mandatory in any mode greater than PIO2.

Which is correct? Or am I misreading something?

Thanks,
David Daney

#1 lore raw
Quoted 6 lines · On Mon, 24 Nov 2008 09:40:10 -0800 David Daney <[email protected]>…

Table 22 on page 51 of CF Specification Rev. 4.1 indicates that iordy is not supported in PIO5 and PIO6. This seems to be in conflict with the code in ata_pio_need_iordy, which asserts that it is mandatory in any mode greater than PIO2.

Which is correct? Or am I misreading something?

The ATA spec says that modes > PIO2 requires IORDY

The CFI spec does indeed say PIO5/6 do not use IORDY so probably you should tweak that function at least for CFA devices.

Alan

#2 lore raw
Quoted 8 lines · Alan Cox
Quoted 3 lines

Table 22 on page 51 of CF Specification Rev. 4.1 indicates that iordy is not supported in PIO5 and PIO6. This seems to be in conflict with the code in ata_pio_need_iordy, which asserts that it is mandatory in any mode greater than PIO2.

Which is correct? Or am I misreading something?

The ATA spec says that modes > PIO2 requires IORDY

The CFI spec does indeed say PIO5/6 do not use IORDY so probably you should tweak that function at least for CFA devices.

Only for them because there probably used to be PIO5 hard disks in the
wild and they hardly ignored IORDY...

Quoted 1 line

Alan

MBR, Sergei