]> git.hungrycats.org Git - linux/commit
[PATCH] make ATAPI PIO work
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 18 Oct 2004 13:49:29 +0000 (09:49 -0400)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 18 Oct 2004 13:49:29 +0000 (09:49 -0400)
commitafa386d79e960dff6430ee8ffcfec4bff2a464fa
tree169dbe346492b3766738c3e1c6a5859ee383ed31
parentce2c381d7c7dc17ed5e99a3c743c13665c955a31
[PATCH] make ATAPI PIO work

If "BSY=0, DRQ=0" condition happens on ATAPI just
complete the command as this condition happens for:
* the end of the PIO transfer (ie. REQUEST_SENSE
  seems to return only 18 of 96 requested bytes)
* unsupported ATAPI commands (ie. REPORT_LUNS)

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/scsi/libata-core.c