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:
Adrian Chadd 2016-02-11 06:15:43 +00:00
parent 4d125f57e1
commit 055ddb0304
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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);