ide_pci_generic: add quirk for Netcell ATA RAID
commitf9384896632d37a575ce544e6dea09f2a1ef4a04
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 30 May 2009 18:06:54 +0000 (30 20:06 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Jun 2009 16:40:09 +0000 (15 09:40 -0700)
treec4cecea076987a90777bc695dfb51e912acb555e
parentbfc71900a3fb609ce62b9b2e7bb9f5eac7a3f682
ide_pci_generic: add quirk for Netcell ATA RAID

commit c339dfdd65b52bfd947ab29d1210314a2f6d622d upstream.

We need to explicitly mark words 85-87 as valid ones since
firmware doesn't do it.

This should fix support for LBA48 and FLUSH CACHE [EXT] command
which stopped working after we applied more strict checking of
identify words in:

commit 942dcd85bf8edf38cdc3745306ca250684d99a61
("ide: idedisk_supports_lba48() -> ata_id_lba48_enabled()")

and

commit 4b58f17d7c45a8e5f4acda641bec388398b9c0fa
("ide: ide_id_has_flush_cache() -> ata_id_flush_enabled()")

Reported-and-tested-by: "Trevor Hemsley" <trevor.hemsley@ntlworld.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ide/ide-pci-generic.c