]> Git Repo - linux.git/commit
ide-pmac: use __ide_wait_stat()
authorBartlomiej Zolnierkiewicz <[email protected]>
Sat, 13 Oct 2007 15:47:49 +0000 (17:47 +0200)
committerBartlomiej Zolnierkiewicz <[email protected]>
Sat, 13 Oct 2007 15:47:49 +0000 (17:47 +0200)
commitddf151026a293725507fedc39b18ae6edb86d775
tree649de86d3de0bfc686ce92e94a2f46979fc2fbfc
parent218ee5f364ed006403f1bbe3c1da5af51b1bdb2a
ide-pmac: use __ide_wait_stat()

* Use __ide_wait_stat() instead of wait_for_ready() in pmac_ide_do_setfeature().

While at it do following changes to match __ide_wait_stat() call in
ide_config_drive_speed():

* Wait WAIT_CMD time (20 sec) instead of 2 sec for device to clear BUSY_STAT.

* Check DRQ_STAT bit (shouldn't be set for good device status).

Also remove no longer needed wait_for_ready() from ide-iops.c.

Acked-by: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
drivers/ide/ide-iops.c
drivers/ide/ppc/pmac.c
include/linux/ide.h
This page took 0.04243 seconds and 4 git commands to generate.