Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177066737
D53328.1793782393.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
667 B
Referenced Files
None
Subscribers
None
D53328.1793782393.diff
View Options
diff --git a/sys/dev/ofw/ofw_cpu.c b/sys/dev/ofw/ofw_cpu.c
--- a/sys/dev/ofw/ofw_cpu.c
+++ b/sys/dev/ofw/ofw_cpu.c
@@ -85,7 +85,8 @@
sizeof(struct ofw_cpulist_softc)
};
-DRIVER_MODULE(ofw_cpulist, ofwbus, ofw_cpulist_driver, 0, 0);
+EARLY_DRIVER_MODULE(ofw_cpulist, ofwbus, ofw_cpulist_driver, 0, 0,
+ BUS_PASS_CPU + BUS_PASS_ORDER_MIDDLE);
static int
ofw_cpulist_probe(device_t dev)
@@ -180,7 +181,8 @@
sizeof(struct ofw_cpu_softc)
};
-DRIVER_MODULE(ofw_cpu, cpulist, ofw_cpu_driver, 0, 0);
+EARLY_DRIVER_MODULE(ofw_cpu, cpulist, ofw_cpu_driver, 0, 0,
+ BUS_PASS_CPU + BUS_PASS_ORDER_MIDDLE);
static bool
ofw_cpu_is_runnable(phandle_t node)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 4, 8:53 AM (30 m, 8 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41391527
Default Alt Text
D53328.1793782393.diff (667 B)
Attached To
Mode
D53328: dev/ofw: Move ofw_cpu earlier
Attached
Detach File
Event Timeline