freebsd-skq/sys/cam/scsi
mav 4c22188d67 Improve AHCI Enclosure Management and SES interoperation.
Since SES specs do not define mechanism to map enclosure slots to SATA
disks, AHCI EM code I written many years ago appeared quite useless,
that always bugged me.  I was thinking whether it was a good idea, but
if LSI HBAs do that, why I shouldn't?

This change introduces simple non-standard mechanism for the mapping
into both AHCI EM and SES code, that makes AHCI EM on capable controllers
(most of Intel's) a first-class SES citizen, allowing it to report disk
physical path to GEOM, show devices inserted into each enclosure slot in
`sesutil map` and `getencstat`, control locate and fault LEDs for specific
devices with `sesutil locate adaX on` and `sesutil fault adaX on`, etc.

I've successfully tested this on Supermicro X10DRH-i motherboard connected
with sideband cable of its S-SATA Mini-SAS connector to SAS815TQ backplane.
It can indicate with LEDs Locate, Fault and Rebuild/Remap SES statuses for
each disk identical to real SES of Supermicro SAS2 backplanes.

MFC after:	2 weeks
2019-06-23 19:05:01 +00:00
..
scsi_all.c Improve AHCI Enclosure Management and SES interoperation. 2019-06-23 19:05:01 +00:00
scsi_all.h Report DIF protection type the disk is formatted with. 2019-04-22 01:08:14 +00:00
scsi_cd.c Move 32-bit compat support for CDIOREADTOCENTRYS to the right place. 2018-10-02 23:23:56 +00:00
scsi_cd.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_ch.c cam_periph_acquire() now returns an errno. 2018-03-19 20:19:00 +00:00
scsi_ch.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_da.c Report DIF protection type the disk is formatted with. 2019-04-22 01:08:14 +00:00
scsi_da.h Improve support for informational exceptions. 2016-12-19 10:25:47 +00:00
scsi_enc_internal.h Improve AHCI Enclosure Management and SES interoperation. 2019-06-23 19:05:01 +00:00
scsi_enc_safte.c Improve AHCI Enclosure Management and SES interoperation. 2019-06-23 19:05:01 +00:00
scsi_enc_ses.c Improve AHCI Enclosure Management and SES interoperation. 2019-06-23 19:05:01 +00:00
scsi_enc.c Improve AHCI Enclosure Management and SES interoperation. 2019-06-23 19:05:01 +00:00
scsi_enc.h Improve AHCI Enclosure Management and SES interoperation. 2019-06-23 19:05:01 +00:00
scsi_iu.h
scsi_message.h
scsi_pass.c Drop periph lock around cam_periph_unmapmem(). 2019-05-06 19:08:03 +00:00
scsi_pass.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_pt.c Return a C errno for cam_periph_acquire(). 2018-02-06 06:42:25 +00:00
scsi_pt.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_sa.c cam_periph_runccb() changed several years ago to overwrite the ccb callback 2018-05-01 20:09:29 +00:00
scsi_sa.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_ses.h Improve AHCI Enclosure Management and SES interoperation. 2019-06-23 19:05:01 +00:00
scsi_sg.c Drop periph lock around cam_periph_unmapmem(). 2019-05-06 19:08:03 +00:00
scsi_sg.h
scsi_targ_bh.c sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_target.c Define xpt_path_inq. 2017-12-06 23:05:22 +00:00
scsi_targetio.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_xpt.c Minor white space changes. 2019-06-11 20:48:19 +00:00
smp_all.c sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
smp_all.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00