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)
Sun, Oct 11, 11:23 AM
Unknown Object (File)
Sat, Oct 10, 8:03 PM
Unknown Object (File)
Sat, Oct 10, 3:30 PM
Unknown Object (File)
Wed, Oct 7, 6:37 PM
Unknown Object (File)
Wed, Oct 7, 4:09 PM
Unknown Object (File)
Wed, Oct 7, 1:36 AM
Unknown Object (File)
Tue, Oct 6, 5:46 PM
Unknown Object (File)
Tue, Oct 6, 6:18 AM
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