scc_pata.c: Workaround for errata A308 (take 2)
authorKou Ishizaki <kou.ishizaki@toshiba.co.jp>
Thu, 19 Jul 2007 23:11:53 +0000 (01:11 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 19 Jul 2007 23:11:53 +0000 (01:11 +0200)
commit4ae41ff887224b39c3c3c673a918193e90be558f
tree50ea15b294c108ca0c905b0e411e8ee577e0967f
parentf644d47af3834b603d909c212287d0c21ec3ebbb
scc_pata.c: Workaround for errata A308 (take 2)

Workaround for errata A308: turn down the UDMA mode and retry
the DMA command when the data lost condition is detected.

take2:
udma_filter() hook is used to limit ATAPI UDMA mode.

Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Signed-off-by: Akira Iguchi <akira2.iguchi@toshiba.co.jp>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/scc_pata.c