]> err.no Git - linux-2.6/commit
ide: don't set PIO mode on pre-EIDE drives
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Tue, 27 Nov 2007 20:35:52 +0000 (21:35 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 27 Nov 2007 20:35:52 +0000 (21:35 +0100)
commit89613e667f7539defb053795f18653003179cf7e
tree3efcfc63e7b7e999db536955464c361f1e53cb4d
parenta1d85864d30181a71243193ed01d322dc0618dc6
ide: don't set PIO mode on pre-EIDE drives

Fix handling of the PIO modes for the pre-EIDE drives that did not support
the PIO Flow Control Transfer Mode value (00001 nnn) of the Set Transfer Mode
feature by skipping the actual mode programming.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-iops.c