diff options
author | jhibbits <jhibbits@FreeBSD.org> | 2016-02-03 01:29:06 +0000 |
---|---|---|
committer | jhibbits <jhibbits@FreeBSD.org> | 2016-02-03 01:29:06 +0000 |
commit | d6406df83942d9fa08b4b2cf53ee2c5527172039 (patch) | |
tree | 6b679f5961a38cb43ca6cdb6bdedece898875bd2 | |
parent | 5f95bf68114f2eb19fc30a8fb38352f8e0135f2a (diff) | |
download | FreeBSD-src-d6406df83942d9fa08b4b2cf53ee2c5527172039.zip FreeBSD-src-d6406df83942d9fa08b4b2cf53ee2c5527172039.tar.gz |
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
-rw-r--r-- | sys/powerpc/mpc85xx/lbc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/powerpc/mpc85xx/lbc.c b/sys/powerpc/mpc85xx/lbc.c index f9a1718..7dfaa06 100644 --- a/sys/powerpc/mpc85xx/lbc.c +++ b/sys/powerpc/mpc85xx/lbc.c @@ -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 |