]> git.karo-electronics.de Git - karo-tx-linux.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)
commit6ddd68615ae9b21096545d7d6ab0f04113ae8b42
tree770df1f59d781741f9ea31f825b6ea9a82a2266d
parent29e8c3c304b62f31b799565c9ee85d42bd163f80
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