Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F166651603
D31023.id91731.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
504 B
Referenced Files
None
Subscribers
None
D31023.id91731.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D31023: sifive_prci: Delay attachment until after clk_fixed
Attached
Detach File
Event Timeline
Log In to Comment