(2.6.20) pata_mpiix: fix PIO setup issues
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Mon, 5 Feb 2007 17:24:57 +0000 (20:24 +0300)
committerJeff Garzik <jeff@garzik.org>
Fri, 9 Feb 2007 22:39:39 +0000 (17:39 -0500)
commit7b4f1a13f708a7b061185d86aae201f3195db47a
tree8e72f64b8c8f8dcb843ce635b2c045fb3410e3bb
parent409ba47c297fd13849909adea63f183f55d52418
(2.6.20) pata_mpiix: fix PIO setup issues

Fix clearing/setting the wrong TIME/IE/PPE bits for a slave drive caused by a
wrong shift count.
Fix the PIO mode 1 being overclocked by wrongly selecting the fast timing bank.
Also, fix/rephrase some comments while at it.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_mpiix.c