Page MenuHomeFreeBSD

D31023.diff
No OneTemporary

D31023.diff

diff --git a/sys/riscv/sifive/sifive_prci.c b/sys/riscv/sifive/sifive_prci.c
--- a/sys/riscv/sifive/sifive_prci.c
+++ b/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 we must
+ * attach late.
+ */
EARLY_DRIVER_MODULE(sifive_prci, simplebus, prci_driver, prci_devclass, 0, 0,
- BUS_PASS_BUS);
+ BUS_PASS_BUS + BUS_PASS_ORDER_LATE);

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 1, 11:58 AM (19 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16904264
Default Alt Text
D31023.diff (452 B)

Event Timeline