Page MenuHomeFreeBSD

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

Authored by nick_spun.io on Sat, Aug 15, 2:30 AM.
Referenced Files
F168749919: D58853.diff
Sat, Aug 29, 11:18 PM
Unknown Object (File)
Fri, Aug 28, 4:46 PM
Unknown Object (File)
Thu, Aug 27, 2:49 PM
Unknown Object (File)
Thu, Aug 27, 2:05 PM
Unknown Object (File)
Wed, Aug 26, 7:57 AM
Unknown Object (File)
Tue, Aug 25, 8:02 PM
Unknown Object (File)
Tue, Aug 25, 6:41 PM
Unknown Object (File)
Mon, Aug 24, 8:12 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