mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-17 05:43:59 +00:00
Adjust ofwbus and simplebus to attach at BUS_PASS_ORDER_MIDDLE, so that
a platform can attach some other bus first if necessary.
This commit is contained in:
parent
69a74bec68
commit
633dbf2e1b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=269597
|
@ -124,7 +124,7 @@ static devclass_t simplebus_devclass;
|
|||
EARLY_DRIVER_MODULE(simplebus, ofwbus, simplebus_driver, simplebus_devclass,
|
||||
0, 0, BUS_PASS_BUS);
|
||||
EARLY_DRIVER_MODULE(simplebus, simplebus, simplebus_driver, simplebus_devclass,
|
||||
0, 0, BUS_PASS_BUS);
|
||||
0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
|
||||
static int
|
||||
simplebus_probe(device_t dev)
|
||||
|
|
|
@ -137,7 +137,7 @@ static driver_t ofwbus_driver = {
|
|||
};
|
||||
static devclass_t ofwbus_devclass;
|
||||
EARLY_DRIVER_MODULE(ofwbus, nexus, ofwbus_driver, ofwbus_devclass, 0, 0,
|
||||
BUS_PASS_BUS);
|
||||
BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
MODULE_VERSION(ofwbus, 1);
|
||||
|
||||
static const char *const ofwbus_excl_name[] = {
|
||||
|
|
Loading…
Reference in a new issue