Adapt two more uses to the new signature of callout_init().

This commit is contained in:
he 2007-07-12 22:11:06 +00:00
parent f39d28c4bf
commit c9f40c630a
2 changed files with 2 additions and 2 deletions

View File

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

View File

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