Zero donecount on auto request sense.

PR:		81450
Approved by:	re@ (scottl)
This commit is contained in:
sos 2005-06-28 09:06:52 +00:00
parent 784fd39252
commit 880222c4c8

View File

@ -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);