ata_piix: fix MWDMA handling on PIIX3
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 3 Dec 2009 19:32:08 +0000 (20:32 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 3 Dec 2009 20:44:31 +0000 (15:44 -0500)
commit6938594374ee506e91a4c03117a034ea0ed66783
tree619049438fd79e4e9e7025f8b6a3ebcee6e706f9
parent95514fd8ff0f30de7815950edfd84ef1e19fb1c8
ata_piix: fix MWDMA handling on PIIX3

Fix erroneous check for ap->udma_mask in do_pata_set_dmamode()
resulting in controller not being programmed properly for MWDMA.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/ata_piix.c