summaryrefslogtreecommitdiff
path: root/sys/dev/ti
diff options
context:
space:
mode:
authorPyun YongHyeon <yongari@FreeBSD.org>2011-11-04 23:09:57 +0000
committerPyun YongHyeon <yongari@FreeBSD.org>2011-11-04 23:09:57 +0000
commit9c6960c61c688aef921be21d1dec55abe5d4ecdf (patch)
treefefd3d4bd5b4a6d17b4b69ee13d3d93ad2e9d1a3 /sys/dev/ti
parent85d21e66be4a7ae9b9f555c70fa9eb564d89f925 (diff)
Notes
Diffstat (limited to 'sys/dev/ti')
-rw-r--r--sys/dev/ti/if_ti.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c
index 7483bd9f9266..66401d1d6cb6 100644
--- a/sys/dev/ti/if_ti.c
+++ b/sys/dev/ti/if_ti.c
@@ -2856,12 +2856,12 @@ ti_intr(void *xsc)
ti_handle_events(sc);
- /* Re-enable interrupts. */
- CSR_WRITE_4(sc, TI_MB_HOSTINTR, 0);
-
if (ifp->if_drv_flags & IFF_DRV_RUNNING &&
- ifp->if_snd.ifq_head != NULL)
+ ifp->if_snd.ifq_head != NULL) {
+ /* Re-enable interrupts. */
+ CSR_WRITE_4(sc, TI_MB_HOSTINTR, 0);
ti_start_locked(ifp);
+ }
TI_UNLOCK(sc);
}