Page MenuHomeFreeBSD

D31023.id91731.diff
No OneTemporary

D31023.id91731.diff

Index: sys/riscv/sifive/sifive_prci.c
===================================================================
--- sys/riscv/sifive/sifive_prci.c
+++ sys/riscv/sifive/sifive_prci.c
@@ -638,5 +638,9 @@
static devclass_t prci_devclass;
+/*
+ * hfclk and rtcclk appear later in the device tree than prci, so add 1 to
+ * ensure we attach after clk_fixed.
+ */
EARLY_DRIVER_MODULE(sifive_prci, simplebus, prci_driver, prci_devclass, 0, 0,
- BUS_PASS_BUS);
+ BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE + 1);

File Metadata

Mime Type
text/plain
Expires
Sun, Aug 16, 5:39 AM (6 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36814961
Default Alt Text
D31023.id91731.diff (504 B)

Event Timeline