Zero donecount on auto request sense.
PR: 81450 Approved by: re@ (scottl)
This commit is contained in:
parent
066b192e3b
commit
c782b027b4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=147644
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user