HomeFreeBSD

mpsutil: Fix device speed reporting.

Description

mpsutil: Fix device speed reporting.

Report controller SAS phy speed only for directly attached devices.
For others try to read and report parent expander phy speed.

MFC after: 1 week

(cherry picked from commit bce02a0ea43a0cd4ee9aa23c815189d2ccb83745)

Details

Provenance
mavAuthored on May 9 2022, 9:57 PM
Parents
rG9d0620722654: mpsutil: fix set but not used warning
Branches
Unknown
Tags
Unknown