CVSROOT: /cvs Module name: src Changes by: patr...@cvs.openbsd.org 2018/04/01 12:50:54
Modified files: sys/arch/armv7/imx: if_fec.c imxccm.c imxccm_clocks.h imxccmvar.h Log message: In an attempt to OFW-ify fec(4) it turns out that the MII speed has currently not been set correctly. The phy speed is based on IPG clock, not the Ethernet PLL divisor. Also when we bumped the frequency base from kHz to Hz, we missed to update the divisor as well. Clarify the formula being used to calculate the phy speed and make use of the clock framework. ok kettenis@