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.

(cherry picked from commit 2e19fae49fd4ab2360971463cee99a62198973b1)

Details

Provenance
mavAuthored on Jan 13 2022, 6:45 PM
Parents
rGe5bcc6a85677: route: remove write-only struct hostent from getaddr()
Branches
Unknown
Tags
Unknown