Make lbc(4) the same driver pass as simplebus.

Device trees mark lbc as compatible with simplebus.  Since simplebus is passed
first, it attaches first.  When lbc's pass (default pass) comes, the bus is
already attached to simplebus, so is skipped.

Sponsored by:	Alex Perez/Inertial Computing
This commit is contained in:
Justin Hibbits 2016-02-03 01:29:06 +00:00
parent 7883f9204b
commit 12cb797e3b

View File

@ -113,7 +113,8 @@ static driver_t lbc_driver = {
devclass_t lbc_devclass;
DRIVER_MODULE(lbc, ofwbus, lbc_driver, lbc_devclass, 0, 0);
EARLY_DRIVER_MODULE(lbc, ofwbus, lbc_driver, lbc_devclass,
0, 0, BUS_PASS_BUS);
/*
* Calculate address mask used by OR(n) registers. Use memory region size to