ide/libata: fix ata_id_is_cfa() (take 4)
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Sun, 1 Feb 2009 16:46:39 +0000 (20:46 +0400)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 3 Feb 2009 03:45:10 +0000 (22:45 -0500)
commit2999b58b795ad81f10e34bdbbfd2742172f247e4
tree6ff5484a5a7083d105d5824d0ada16654484e7b8
parent5eb66fe05f08d515a7377787473bc4e4b1ed5b59
ide/libata: fix ata_id_is_cfa() (take 4)

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 <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
include/linux/ata.h