HomeFreeBSD

sesutil: Avoid setting reserved bits.

Description

sesutil: Avoid setting reserved bits.

Weird side of SES specification is that some bits have different
meaning or semantics in status and control pages. This patch fixes
non-zero writes into reserved fields, that caused errors on some
enclosures when trying to control locate/fault LEDs, keeping other
bits unchanged.

MFC after: 2 weeks
Sposonred by: iXsystems, Inc.

Details

Provenance
mavAuthored on Jan 13 2022, 6:45 PM
Parents
rG1d41a4940463: tcp_usr_connect: report actual error code when stack requests drop
Branches
Unknown
Tags
Unknown