diff options
author | sos <sos@FreeBSD.org> | 2005-06-28 09:06:52 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2005-06-28 09:06:52 +0000 |
commit | 880222c4c8ef2a1e00fb0a20441914e4e0c538fb (patch) | |
tree | 20bec51275ba868573b296efbefa99cefad5c412 /sys | |
parent | 784fd39252ebfb6e8afa16b88610611b686ff2ec (diff) | |
download | FreeBSD-src-880222c4c8ef2a1e00fb0a20441914e4e0c538fb.zip FreeBSD-src-880222c4c8ef2a1e00fb0a20441914e4e0c538fb.tar.gz |
Zero donecount on auto request sense.
PR: 81450
Approved by: re@ (scottl)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ata/ata-queue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-queue.c b/sys/dev/ata/ata-queue.c index f62de39..c1a7e617 100644 --- a/sys/dev/ata/ata-queue.c +++ b/sys/dev/ata/ata-queue.c @@ -355,6 +355,7 @@ ata_completed(void *context, int dummy) bcopy(ccb, request->u.atapi.ccb, 16); request->data = (caddr_t)&request->u.atapi.sense_data; request->bytecount = sizeof(struct atapi_sense); + request->donecount = 0; request->transfersize = sizeof(struct atapi_sense); request->timeout = 5; request->flags &= (ATA_R_ATAPI | ATA_R_QUIET); |