]> git.baikalelectronics.ru Git - kernel.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)
commitace73d5c3236c4a50e16d99d9aef6a93cb46206c
tree5ee79c2c30d959bc21607d4c45faecbdf2481c4f
parent7a22e9f706e52fb1e3c016d18a78d4937607ebc7
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