]> git.baikalelectronics.ru Git - kernel.git/commit
pata_hpt*, pata_serverworks: fix UDMA masking
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Tue, 26 Feb 2008 21:35:54 +0000 (13:35 -0800)
committerJeff Garzik <jeff@garzik.org>
Wed, 5 Mar 2008 12:46:34 +0000 (07:46 -0500)
commitaa06bc8d6c9452b1070c5b6c96ed2cae364562de
tree770df1f59d781741f9ea31f825b6ea9a82a2266d
parentc1d9fd29fe6d1e6248e04e570a6c9d58e81e4cab
pata_hpt*, pata_serverworks: fix UDMA masking

When masking, mask out the modes that are unsupported not the ones
that are supported.  This makes life happier.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_hpt366.c
drivers/ata/pata_hpt37x.c
drivers/ata/pata_serverworks.c