]> 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)
committerChris Wright <chrisw@sous-sol.org>
Mon, 24 Mar 2008 18:47:24 +0000 (11:47 -0700)
commit9256d0b8cb13a854c0a29861ce37a252f7712568
tree77fe890b44549d8b671656e78a941d176f51c93b
parentdb29706ff57deba8866fb4681a1a8b99bf59c805
pata_hpt*, pata_serverworks: fix UDMA masking

[upstream commit: 6ddd6861]

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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ata/pata_hpt366.c
drivers/ata/pata_hpt37x.c
drivers/ata/pata_serverworks.c