diff --git a/sys/x86/isa/orm.c b/sys/x86/isa/orm.c index efeb2afe9e90..f7f728b8242c 100644 --- a/sys/x86/isa/orm.c +++ b/sys/x86/isa/orm.c @@ -91,6 +91,9 @@ orm_identify(driver_t* driver, device_t parent) struct orm_softc *sc; u_int8_t buf[3]; + if (resource_disabled("orm", 0)) + return; + child = BUS_ADD_CHILD(parent, ISA_ORDER_SENSITIVE, "orm", -1); device_set_driver(child, driver); isa_set_logicalid(child, ORM_ID);