summaryrefslogtreecommitdiff
path: root/sys/dev/ti
diff options
context:
space:
mode:
authorPyun YongHyeon <yongari@FreeBSD.org>2011-11-10 23:14:04 +0000
committerPyun YongHyeon <yongari@FreeBSD.org>2011-11-10 23:14:04 +0000
commitecf3f60fed1c4a221b125b032eb458eb883c1e18 (patch)
tree383f4aa668eb24acacdd3ac2c127d0c8e846ed57 /sys/dev/ti
parent8a9710aa8c0a8b82ef9a7fbdab47628efc06eabf (diff)
Notes
Diffstat (limited to 'sys/dev/ti')
-rw-r--r--sys/dev/ti/if_ti.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c
index 1ecc7be2f4d2..f7df3ccd9b17 100644
--- a/sys/dev/ti/if_ti.c
+++ b/sys/dev/ti/if_ti.c
@@ -2825,14 +2825,11 @@ ti_intr(void *xsc)
TI_LOCK(sc);
ifp = sc->ti_ifp;
-/*#ifdef notdef*/
- /* Avoid this for now -- checking this register is expensive. */
/* Make sure this is really our interrupt. */
if (!(CSR_READ_4(sc, TI_MISC_HOST_CTL) & TI_MHC_INTSTATE)) {
TI_UNLOCK(sc);
return;
}
-/*#endif*/
/* Ack interrupt and stop others from occuring. */
CSR_WRITE_4(sc, TI_MB_HOSTINTR, 1);