Page MenuHomeFreeBSD

if_mvneta: Use clock frequency
ClosedPublic

Authored by hum_semihalf.com on Oct 6 2021, 12:13 PM.

Details

Summary

Make neta use frequency obtained from clock, instead of
hardcoded one. Use default frequency in case of clock
device failure. Remove unnecessary function calls
to obtain frequency and use cached one instead.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Oct 6 2021, 12:16 PM
This revision now requires review to proceed.Jan 4 2022, 9:34 AM
This revision was not accepted when it landed; it landed in state Needs Review.Jan 4 2022, 12:32 PM
Closed by commit rG4885d6f3ec5b: if_mvneta: Use clock frequency (authored by hum_semihalf.com, committed by wma). · Explain Why
This revision was automatically updated to reflect the committed changes.