diff --git a/sys/net/iflib.c b/sys/net/iflib.c --- a/sys/net/iflib.c +++ b/sys/net/iflib.c @@ -5436,6 +5436,13 @@ CTX_UNLOCK(ctx); IFNET_WUNLOCK(); + /* Create led(4) devices if the driver defined the method */ + kobj_desc = &ifdi_led_func_desc; + kobj_method = kobj_lookup_method(((kobj_t)ctx)->ops->cls, NULL, + kobj_desc); + if (kobj_method != &kobj_desc->deflt) + iflib_led_create(ctx); + return (0); fail_detach: