Convert MIPS nexus and mips_pic to BUS_PASS
Submitted by: Stanislav Galabov <sgalabov@gmail.com> Reviewed by: kan Differential Revision: https://reviews.freebsd.org/D5196
This commit is contained in:
parent
4d125f57e1
commit
055ddb0304
@ -448,9 +448,11 @@ static driver_t mips_pic_driver = {
|
||||
static devclass_t mips_pic_devclass;
|
||||
|
||||
#ifdef FDT
|
||||
DRIVER_MODULE(cpupic, ofwbus, mips_pic_driver, mips_pic_devclass, 0, 0);
|
||||
EARLY_DRIVER_MODULE(cpupic, ofwbus, mips_pic_driver, mips_pic_devclass, 0, 0,
|
||||
BUS_PASS_INTERRUPT);
|
||||
#else
|
||||
DRIVER_MODULE(cpupic, nexus, mips_pic_driver, mips_pic_devclass, 0, 0);
|
||||
EARLY_DRIVER_MODULE(cpupic, nexus, mips_pic_driver, mips_pic_devclass, 0, 0,
|
||||
BUS_PASS_INTERRUPT);
|
||||
#endif
|
||||
|
||||
void
|
||||
|
@ -576,4 +576,5 @@ nexus_hinted_child(device_t bus, const char *dname, int dunit)
|
||||
}
|
||||
}
|
||||
|
||||
DRIVER_MODULE(nexus, root, nexus_driver, nexus_devclass, 0, 0);
|
||||
EARLY_DRIVER_MODULE(nexus, root, nexus_driver, nexus_devclass, 0, 0,
|
||||
BUS_PASS_BUS + BUS_PASS_ORDER_EARLY);
|
||||
|
Loading…
x
Reference in New Issue
Block a user