commit | aa95f0e76571dc1b067d2839c11f2e5589d063d7 | [log] [tgz] |
---|---|---|
author | Sergei Shtylylov <sshtylyov@ru.mvista.com> | Mon Oct 13 21:39:29 2008 +0200 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Mon Oct 13 21:39:29 2008 +0200 |
tree | 4e106674c661c647faaaa094fb18886204844df0 | |
parent | a447c0932445f92ce6f4c1bd020f62c5097a7842 [diff] |
sgiioc4: sgiioc4_read_status drive busy check fix Fix the drive non-busy criterion used by sgiioc4_read_status(): neither of the bits it expects to be set guarantees that the drive is not busy (and might be interrupting), only the BSY bit itself being zero gurantees that. While at it, use ATA_BUSY instead of hardcoded value everywhere... Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Cc: jeremy@sgi.com Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>