]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] pata_via: Cable detect error
authorAlan <alan@lxorguk.ukuu.org.uk>
Sat, 16 Dec 2006 14:32:21 +0000 (14:32 +0000)
committerJeff Garzik <jeff@garzik.org>
Sat, 16 Dec 2006 15:46:21 +0000 (10:46 -0500)
commit3031a17c41e0f8244942519f7b8b7df6621c10dd
tree3bba946357bc7cf5c49b48abae903959fa65066e
parent3eaa54c92ee857e85453adf9f8bc793b9d403386
[PATCH] pata_via: Cable detect error

The UDMA66 VIA hardware has no controller side cable detect bits we can
use. This patch minimally fixes the problem by reporting unknown in this
case and using drive side detection.

The old drivers/ide code does some additional tricks but those aren't
appropriate now we are in -rc.

Without this update UDMA66 via controllers run slowly. They don't fail so
it's a borderline call whether this is -rc material or not.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_via.c