mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Bug fix: allow reset device command to complete.
This commit is contained in:
parent
6061100fb8
commit
4b80d3dd0b
1 changed files with 5 additions and 1 deletions
|
|
@ -1105,7 +1105,7 @@ aic_timeout(void *arg)
|
|||
printf("ccb %p - timed out", ccb);
|
||||
if (aic->nexus && aic->nexus != scb)
|
||||
printf(", nexus %p", aic->nexus->ccb);
|
||||
printf("\n");
|
||||
printf(", phase %x\n", aic_inb(aic, SCSISIGI));
|
||||
|
||||
s = splcam();
|
||||
|
||||
|
|
@ -1254,6 +1254,10 @@ aic_intr(void *arg)
|
|||
ccb = scb->ccb;
|
||||
ccb->ccb_h.status = CAM_UNEXP_BUSFREE;
|
||||
aic_done(aic, scb);
|
||||
} else if (scb->flags & SCB_DEVICE_RESET) {
|
||||
ccb = scb->ccb;
|
||||
ccb->ccb_h.status = CAM_REQ_CMP;
|
||||
aic_done(aic, scb);
|
||||
} else if (scb->flags & SCB_SENSE) {
|
||||
/* autosense request */
|
||||
aic->flags &= ~AIC_BUSFREE_OK;
|
||||
|
|
|
|||
Loading…
Reference in a new issue