HomeFreeBSD

cxgbe(4): Avoid unsafe hardware access in the ifmedia ioctls.

Description

cxgbe(4): Avoid unsafe hardware access in the ifmedia ioctls.

The hardware is unavailable when the device is suspended or in the
middle of a reset.

MFC after: 1 week
Sponsored by: Chelsio Communications

Details

Provenance
npAuthored on Feb 11 2022, 11:37 PM
Parents
rGdba02df30d53: Cast pointer to uintptr_t to avoid alignment warnings.
Branches
Unknown
Tags
Unknown