ht6560b: force prefetch for some devices
authorJan Evert van Grootheest <j.e.van.grootheest@caiway.nl>
Tue, 19 Feb 2008 00:41:26 +0000 (01:41 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 19 Feb 2008 00:41:26 +0000 (01:41 +0100)
commit0e7d8d480259319649f7a2c230622b98758d1c83
treeb4f365ad69a2fd2380a9e640373a5d58e493e19e
parent1a1990f5479b0c9055c133b7e0e7fedfcbe11512
ht6560b: force prefetch for some devices

Prefetch needs to be set for some ide devices to work when connected to
a ht6560b interface. This was not always done properly, causing a system
with a HD and CD on the primary interface to not work properly. Or, in
effect, hang hard.

This patch forces prefetch on devices before checking whether it
is necessary to change the settings in the interface

This patch should also be applied to 2.4. I don't currently have a
2.4 tree around.

(also change my email address)

Signed-off-by: Jan Evert van Grootheest <janevert@caiway.nl>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/legacy/ht6560b.c