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
Unknown Object (File)
Sun, Aug 16, 1:39 AM
Unknown Object (File)
Sun, Aug 16, 1:33 AM
Unknown Object (File)
Sat, Aug 15, 7:54 PM
Unknown Object (File)
Sat, Aug 15, 7:54 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