Page MenuHomeFreeBSD

aq(4): arm PHY thermal shutdown only where a sensor exists
ClosedPublic

Authored by nick_spun.io on Aug 15 2026, 2:30 AM.
Referenced Files
Unknown Object (File)
Thu, Oct 1, 8:21 PM
Unknown Object (File)
Thu, Oct 1, 2:02 PM
Unknown Object (File)
Thu, Oct 1, 1:53 PM
Unknown Object (File)
Thu, Oct 1, 12:18 PM
Unknown Object (File)
Thu, Oct 1, 10:29 AM
Unknown Object (File)
Thu, Oct 1, 8:48 AM
Unknown Object (File)
Thu, Oct 1, 1:40 AM
Unknown Object (File)
Tue, Sep 29, 10:43 PM
Subscribers

Details

Summary

aq_fw2x_thermal_arm() reached for a copper PHY register that the fibre
parts do not implement, so arming failed on every init and printed a
warning for a capability the hardware cannot have. Return ENOTSUP when
the firmware does not advertise a temperature sensor, matching
aq_fw2x_get_temp(), and warn only for a genuine failure.

Signed-off-by: Nick Price <nprice@FreeBSD.org>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 75599
Build 72482: arc lint + arc unit