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
Mon, Jan 13, 2:45 AM (21 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15775359
Default Alt Text
D31023.diff (452 B)

Event Timeline