]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sgiioc4: sgiioc4_read_status drive busy check fix
authorSergei Shtylylov <sshtylyov@ru.mvista.com>
Mon, 13 Oct 2008 19:39:29 +0000 (21:39 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 13 Oct 2008 19:39:29 +0000 (21:39 +0200)
commitaa95f0e76571dc1b067d2839c11f2e5589d063d7
tree4e106674c661c647faaaa094fb18886204844df0
parenta447c0932445f92ce6f4c1bd020f62c5097a7842
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>
drivers/ide/pci/sgiioc4.c