From: Sergei Shtylyov Date: Sun, 1 Feb 2009 16:46:39 +0000 (+0400) Subject: ide/libata: fix ata_id_is_cfa() (take 4) X-Git-Tag: v2.6.27.18~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8a697653ca7adde1f5b5d704e98e86b7f9dcf1f;p=pandora-kernel.git ide/libata: fix ata_id_is_cfa() (take 4) commit 2999b58b795ad81f10e34bdbbfd2742172f247e4 upstream. When checking for the CFA feature set support, ata_id_is_cfa() tests bit 2 in word 82 of the identify data instead the word 83; it also checks the ATA/PI version support in the word 80 (which the CompactFlash specifications have as reserved), this having no slightest chance to work on the modern CF cards that don't have 0x848A in the word 0... Signed-off-by: Sergei Shtylyov Signed-off-by: Jeff Garzik Cc: Chuck Ebbert Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed