Fix broken pata_via cable detection
authorLaurent Riffard <laurent.riffard@free.fr>
Sun, 2 Sep 2007 19:01:32 +0000 (21:01 +0200)
committerJeff Garzik <jeff@garzik.org>
Tue, 11 Sep 2007 01:50:24 +0000 (21:50 -0400)
commit08ebd43d6b9b63de681b8f255c0fabae8033527c
treebe2669523b6f147c801d89cac26c709349163a68
parent897ee77bfba12b83752027427a41009961458ee6
Fix broken pata_via cable detection

via_do_set_mode overwrites 80-wire cable detection bits. Let's
preserve them.

Signed-off-by: Laurent Riffard <laurent.riffard@free.fr>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_via.c