Page MenuHomeFreeBSD

D31023.id.diff
No OneTemporary

D31023.id.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
Sun, Feb 1, 10:44 PM (8 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28106891
Default Alt Text
D31023.id.diff (452 B)

Event Timeline