pata_it8213: fix UDMA handling
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 3 Dec 2009 19:32:10 +0000 (20:32 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 3 Dec 2009 20:59:25 +0000 (15:59 -0500)
commite0ee792b75a5cf1b23acfeae7ce3c386f805b20b
tree0e1e4fdf99fa73c5c23e23471ab5ea4a26fd06fc
parent3915044468217d9c224b824c308e4d112666f58d
pata_it8213: fix UDMA handling

Driver should program the cycle timing not the mode number
(doing the latter results in wrong timings being used).

There shouldn't be any problems with it as IDE it8213 host driver
has been doing it this way for years.

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