HomeFreeBSD

MFC r299263, r299265, r299266, r299267, r299268, r299269, r299270, r299271,

Description

MFC r299263, r299265, r299266, r299267, r299268, r299269, r299270, r299271,
r299272, r299274, r299275

  • (r299263) Update MPI headers to version 42.
  • (r299265) Several style changes and add copyrights for 2016.
  • (r299266) Add support for the Broadcom (Avago/LSI) 9305 16 and 24 port HBA's.
  • (r299267) No log bit in IOCStatus and endian-safe changes.

Use MPI2_IOCSTATUS_MASK when checking IOCStatus to mask off the log bit, and
make a few more things endian-safe.

  • (r299268) Change logging level for a debug string to use MPR_LOG instead of

MPR_INFO.

  • (r299269) Fix possible use of invalid pointer.

It was possible to use an invalid pointer to get the target ID value. To fix
this, initialize a local Target ID variable to an invalid value and change that
variable to a valid value only if the pointer to the Target ID is not NULL.

  • (r299270) No need to set the MPRSAS_SHUTDOWN flag because it's never used.
  • (r299271) Use callout_reset_sbt() instead of callout_reset() if FreeBSD ver

is >= 1000029

  • (r299272) done_ccb pointer can be used if it is NULL.

To prevent this, move check for done_ccb == NULL to before done_ccb is used in
mprsas_stop_unit_done().

  • (r299274) Disks can go missing until a reboot is done in some cases.

This is due to the DevHandle not being released, which causes the Firmware to
not allow that disk to be re-added.

  • (r299275) Bump version of mpr driver to 13.00.00.00-fbsd

Details

Provenance
slmAuthored on
Parents
rS299961: MFC 298212
Branches
Unknown
Tags
Unknown