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, Sep 6, 8:51 AM
Unknown Object (File)
Thu, Sep 3, 5:56 PM
Unknown Object (File)
Thu, Sep 3, 4:57 PM
Unknown Object (File)
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
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