PERFORCE change 168796 for review
Alexander Motin
mav at FreeBSD.org
Tue Sep 22 20:25:47 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=168796
Change 168796 by mav at mav_mavtest on 2009/09/22 20:25:10
If on sense request device returns no sence, give up and return,
or we may loop forever.
Affected files ...
.. //depot/projects/scottl-camlock/src/sys/cam/cam_periph.c#34 edit
Differences ...
==== //depot/projects/scottl-camlock/src/sys/cam/cam_periph.c#34 (text+ko) ====
@@ -1033,8 +1033,13 @@
cam_error_print(saved_ccb, CAM_ESF_ALL,
CAM_EPF_ALL);
#endif
- xpt_done_ccb = TRUE;
+ } else {
+ saved_ccb->ccb_h.status &=
+ ~CAM_STATUS_MASK;
+ saved_ccb->ccb_h.status |=
+ CAM_AUTOSENSE_FAIL;
}
+ xpt_done_ccb = TRUE;
}
}
bcopy(done_ccb->ccb_h.saved_ccb_ptr, done_ccb,
More information about the p4-projects
mailing list