diff options
author | Stephen McConnell <slm@FreeBSD.org> | 2016-05-09 16:19:13 +0000 |
---|---|---|
committer | Stephen McConnell <slm@FreeBSD.org> | 2016-05-09 16:19:13 +0000 |
commit | 2bbc5fcb4b97ba21bc2d5ae0afb3178c04b3e57f (patch) | |
tree | 16a000eab55614215f6b88e29eb0603be4744da8 /sys/dev/mpr/mpr_sas_lsi.c | |
parent | 7a2a6a1a6ffce1bd713e39a0a6c2a0ded24d1c46 (diff) | |
download | src-2bbc5fcb4b97ba21bc2d5ae0afb3178c04b3e57f.tar.gz src-2bbc5fcb4b97ba21bc2d5ae0afb3178c04b3e57f.zip |
Add support for the Broadcom (Avago/LSI) 9305 16 and 24 port HBA's.
Reviewed by: ken, scottl, ambrisko, asomers
Approved by: ken, scottl, ambrisko
MFC after: 1 week
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D6098
Notes
Notes:
svn path=/head/; revision=299266
Diffstat (limited to 'sys/dev/mpr/mpr_sas_lsi.c')
-rw-r--r-- | sys/dev/mpr/mpr_sas_lsi.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sys/dev/mpr/mpr_sas_lsi.c b/sys/dev/mpr/mpr_sas_lsi.c index 3d6f9f2a932a..4ede5f787747 100644 --- a/sys/dev/mpr/mpr_sas_lsi.c +++ b/sys/dev/mpr/mpr_sas_lsi.c @@ -645,6 +645,23 @@ skip_fp_send: } break; } + case MPI2_EVENT_ACTIVE_CABLE_EXCEPTION: + { + pMpi26EventDataActiveCableExcept_t ace_event_data; + ace_event_data = + (pMpi26EventDataActiveCableExcept_t)fw_event->event_data; + + if (ace_event_data->ReasonCode == + MPI26_EVENT_ACTIVE_CABLE_INSUFFICIENT_POWER) { + mpr_printf(sc, "Currently an active cable with " + "ReceptacleID %d cannot be powered and device " + "connected to this active cable will not be seen. " + "This active cable requires %d mW of power.\n", + ace_event_data->ReceptacleID, + ace_event_data->ActiveCablePowerRequirement); + } + break; + } case MPI2_EVENT_SAS_DEVICE_STATUS_CHANGE: case MPI2_EVENT_SAS_BROADCAST_PRIMITIVE: default: |