]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r310257: Improve support for informational exceptions.
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 5 Jan 2017 11:23:55 +0000 (11:23 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 5 Jan 2017 11:23:55 +0000 (11:23 +0000)
commit9837f7f122bc0f0174f9970714a8c9922122cc1b
tree8b2c7520daea237ecd4af91b18ea08197c791afc
parentadf8bf4988a3b543851ca9494efebfc7329ac234
MFC r310257: Improve support for informational exceptions.

While CTL still has no real events to report in this way (like SMART),
it is possible to trigger false event by manually setting TEST bit in
Informational Exceptions Control mode page, that can be useful for
initiator testing.  This code supports all flavours of IE reporting:
UNIT ATTENTION, RECOVERED ERROR and NO SENSE sense keys, REQUEST SENSE
command and Informational Exceptions log page.

git-svn-id: svn://svn.freebsd.org/base/stable/10@311403 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cam/ctl/ctl.c
sys/cam/ctl/ctl.h
sys/cam/ctl/ctl_error.c
sys/cam/ctl/ctl_private.h
sys/cam/scsi/scsi_all.h
sys/cam/scsi/scsi_da.h