The ocotp driver provides access to registers containing chip configuration

data that is needed by other drivers, so make it an EARLY_DRIVER_MODULE()
that loads before just about anything else.
This commit is contained in:
Ian Lepore 2014-09-02 02:54:55 +00:00
parent 2c4a847864
commit 866180c3fc

View File

@ -200,5 +200,6 @@ static driver_t ocotp_driver = {
static devclass_t ocotp_devclass;
DRIVER_MODULE(ocotp, simplebus, ocotp_driver, ocotp_devclass, 0, 0);
EARLY_DRIVER_MODULE(ocotp, simplebus, ocotp_driver, ocotp_devclass, 0, 0,
BUS_PASS_CPU + BUS_PASS_ORDER_FIRST);