29c29
< * $FreeBSD: head/sys/dev/twa/tw_osl_freebsd.c 169452 2007-05-10 15:36:58Z scottl $
---
> * $FreeBSD: head/sys/dev/twa/tw_osl_freebsd.c 172496 2007-10-09 17:43:57Z scottl $
36a37
> * Modifications by: Manjunath Ranganathaiah
283a285,286
> sc->sim_lock = &(sc->sim_lock_handle);
> mtx_init(sc->sim_lock, "tw_osl_sim_lock", NULL, MTX_DEF | MTX_RECURSE);
362d364
< INTR_TYPE_CAM,
363a366
> INTR_TYPE_CAM | INTR_FAST,
365a369
> INTR_TYPE_CAM | INTR_MPSAFE,
880c884,885
< tw_cl_deferred_interrupt(&(sc->ctlr_handle));
---
> taskqueue_enqueue_fast(taskqueue_fast,
> &(sc->deferred_intr_callback));
1054c1059
< * freed by the callback. Just return.
---
> * unmapped by the callback.
1057c1062,1063
< return(ETIMEDOUT);
---
> error = ETIMEDOUT;
> goto fw_passthru_err;
< * $FreeBSD: head/sys/dev/twa/tw_osl_freebsd.c 169452 2007-05-10 15:36:58Z scottl $
---
> * $FreeBSD: head/sys/dev/twa/tw_osl_freebsd.c 172496 2007-10-09 17:43:57Z scottl $
36a37
> * Modifications by: Manjunath Ranganathaiah
283a285,286
> sc->sim_lock = &(sc->sim_lock_handle);
> mtx_init(sc->sim_lock, "tw_osl_sim_lock", NULL, MTX_DEF | MTX_RECURSE);
362d364
< INTR_TYPE_CAM,
363a366
> INTR_TYPE_CAM | INTR_FAST,
365a369
> INTR_TYPE_CAM | INTR_MPSAFE,
880c884,885
< tw_cl_deferred_interrupt(&(sc->ctlr_handle));
---
> taskqueue_enqueue_fast(taskqueue_fast,
> &(sc->deferred_intr_callback));
1054c1059
< * freed by the callback. Just return.
---
> * unmapped by the callback.
1057c1062,1063
< return(ETIMEDOUT);
---
> error = ETIMEDOUT;
> goto fw_passthru_err;