pata_it8213: fix wrong PIO timings being programmed
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 21:00:56 +0000 (16:00 -0500)
commit088ccb53a341b5c0afab67e392b053ebb0bf7b2b
tree5b572452ecb84596f8db430a4c5f2ef7e668fcde
parente0ee792b75a5cf1b23acfeae7ce3c386f805b20b
pata_it8213: fix wrong PIO timings being programmed

* do not clear PIO timings for master when programming slave
* program new PIO timings in the correct register nibble

Both changes should be safe as this is how we have been doing
things in IDE it8213 host driver for years.

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