]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ide: enhance ide_busy_sleep()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 10 Oct 2008 20:39:23 +0000 (22:39 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 10 Oct 2008 20:39:23 +0000 (22:39 +0200)
commitb163f46d5ecf48d883ce156e5e5a21a1a9a125c7
tree5ee79c2c30d959bc21607d4c45faecbdf2481c4f
parentc36a7e98846a7a4a1c09b7f148395089bce512d8
ide: enhance ide_busy_sleep()

* Make ide_busy_sleep() take timeout value as a parameter
  and also allow use of AltStatus Register if requested with
  altstatus parameter.  Update existing users accordingly.

* Convert ide_driveid_update() and actual_try_to_identify()
  to use ide_busy_sleep().

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-iops.c
drivers/ide/ide-probe.c
include/linux/ide.h