]> err.no Git - linux-2.6/commit
[PATCH] pdc202xx_new: fix PIO mode setup
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 8 Dec 2006 10:39:59 +0000 (02:39 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:29:03 +0000 (08:29 -0800)
commitb10a06866600d1eda9e72ff328999e70f077fb3a
tree5b24ab8eab610142653791cd63508a962a883f62
parentb1489009963b8c5132f2ffe23483e811d9ae5607
[PATCH] pdc202xx_new: fix PIO mode setup

Fix pdcnew_tune_drive() to always set the PIO mode requested, not pick the
best possible one, change pdcnew_config_drive_xfer_rate() accordingly, and
get rid of the duplicate tuneproc() call in config_chipset_for_dma().

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/ide/pci/pdc202xx_new.c