pata_via: Fix 6410 misdetect
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Tue, 29 Apr 2008 13:10:57 +0000 (14:10 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 29 Apr 2008 21:41:10 +0000 (17:41 -0400)
commit11f6400e92aa3fc0aa936f20f7cc363674a4e3c4
tree4e433acc2a960ef908370dd10a59c85b80a1e242
parentd7b5a23fc6e85456ed00a997ff2d925fb3f0dc52
pata_via: Fix 6410 misdetect

The discrete VIA ATA chips don't have 0x40 enable bits. We check that
properly in one location but not another. This causes some users 6410
RAID cards to be incorrectly skipped.

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