I noticed several places there are code like this, especially in some arm
low level drivers.
EARLY_DRIVER_MODULE(aw_ccu, simplebus, aw_ccu_driver, aw_ccu_devclass,
    0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);

​I feel the usage of BUS_PASS_ORDER_MIDDLE is misused. There are another
macro EARLY_DRIVER_MODULE_ORDERED, which take an additional parameter
"order". I believe BUS_PASS_ORDER_xxx is used for that parameter.
​

-- 
-Howard
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to