From: Alan Cox Date: Tue, 8 Apr 2008 15:36:44 +0000 (+0100) Subject: libata: Be a bit more slack about early devices X-Git-Tag: v2.6.26-rc1~1150^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b93fda12357b3f1aa55cf69d8e088372788ea9ea;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed