diff --git a/sys/dev/pci/cxgb_main.c b/sys/dev/pci/cxgb_main.c index 8aa7fa6b30cf..7ac56867a2c0 100644 --- a/sys/dev/pci/cxgb_main.c +++ b/sys/dev/pci/cxgb_main.c @@ -670,7 +670,7 @@ cxgb_controller_attach(device_t dev, device_t self, void *context) callout_init_mtx(&sc->cxgb_tick_ch, &sc->lock, CALLOUT_RETURNUNLOCKED); #endif #ifdef __NetBSD__ - callout_init(&sc->cxgb_tick_ch); + callout_init(&sc->cxgb_tick_ch, 0); #endif MARK; diff --git a/sys/dev/pci/cxgb_sge.c b/sys/dev/pci/cxgb_sge.c index d1bd3a19c9eb..a47a733c6be8 100644 --- a/sys/dev/pci/cxgb_sge.c +++ b/sys/dev/pci/cxgb_sge.c @@ -753,7 +753,7 @@ t3_sge_init_sw(adapter_t *sc) callout_init(&sc->sge_timer_ch, CALLOUT_MPSAFE); #endif #ifdef __NetBSD__ - callout_init(&sc->sge_timer_ch); + callout_init(&sc->sge_timer_ch, 0); #endif callout_reset(&sc->sge_timer_ch, TX_RECLAIM_PERIOD, sge_timer_cb, sc); #ifdef __FreeBSD__