mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
- pclk and hclk are mandatory so always try to get them.
Don't make it fatal if it fails as some platform (like Zynq) don't
have a proper clock driver.
- Always use pclk for the reference clock.
- Try to get all the possible clocks and enable them.
Reviewed-by: mhorne
Tested-by: Milan Obuch <bsd@dino.sk>
Differential Revision: https://reviews.freebsd.org/D41857
Sponsored by: Beckhoff Automation GmbH & Co. KG
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| if_cgem.c | ||
| if_cgem_hw.h | ||