HomeFreeBSD

if_mvneta: Use clock frequency

Description

if_mvneta: Use clock frequency

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.

Reviewed by: manu
Obtained from: Semihalf
Differential revision: https://reviews.freebsd.org/D32336

Details

Provenance
hum_semihalf.comAuthored on Aug 24 2021, 10:04 AM
wmaCommitted on Jan 4 2022, 12:26 PM
Reviewer
manu
Differential Revision
D32336: if_mvneta: Use clock frequency
Parents
rGf21c469dbca6: Add driver for marvell, a37x0 peripheral clocks
Branches
Unknown
Tags
Unknown