diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2008-04-08 11:36:44 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-17 15:44:25 -0400 |
commit | b93fda12357b3f1aa55cf69d8e088372788ea9ea (patch) | |
tree | bd7b68da74f8e2948c818891e8d45098bfbac802 /drivers/ata/libata-eh.c | |
parent | f792068e43a3a156139569304b29ec8fc5dec4e3 (diff) |
libata: Be a bit more slack about early devices
We have a certain number of 'ATA' emulations often on CF or other flash
devices that are at best "loosely based" on the CF 1.1 standard. These
devices report themselves as disk but don't support the ATA minimal
command set only the CF 1.1 set.
Relax the PIO checking for devices reporting ATA rev 0, or no iordy
support, or CFA. Rework the code a bit as it was already messy and this
made it quite ugly.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/libata-eh.c')
0 files changed, 0 insertions, 0 deletions