]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: Fix drive's DWORD-IO handling
authorMario Schwalbe <schwalbe@inf.tu-dresden.de>
Tue, 6 Jan 2009 16:20:57 +0000 (17:20 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 6 Jan 2009 16:20:57 +0000 (17:20 +0100)
commit744a82b004b0a08d55f579daa55e32d963353edc
treed40f26d3231a223b89382f666893d8985df056d3
parent2bd24a1cfc99d242c2cff9a6b74ca49fcaac3fb6
ide: Fix drive's DWORD-IO handling

According the documentation, id[ATA_ID_DWORD_IO] is non-zero if
the drive supports dword IO, while the code disables support by
setting IDE_DFLAG_NO_IO_32BIT. In addition, this word has been
reused by the ATA8 specification. This patch fixes both cases.

Signed-off-by: Mario Schwalbe <schwalbe@inf.tu-dresden.de>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
[bart: remove id[ATA_ID_DWORD_IO] check altogether per Sergei's suggestion]
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-probe.c