diff options
Diffstat (limited to 'sys/dev/ioat/ioat.c')
-rw-r--r-- | sys/dev/ioat/ioat.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/ioat/ioat.c b/sys/dev/ioat/ioat.c index 730d2b3faad9..4daefb140227 100644 --- a/sys/dev/ioat/ioat.c +++ b/sys/dev/ioat/ioat.c @@ -575,10 +575,8 @@ ioat_process_events(struct ioat_softc *ioat) ioat_log_message(3, "%s\n", __func__); - if (status == ioat->last_seen) { - mtx_unlock(&ioat->cleanup_lock); - return; - } + if (status == ioat->last_seen) + goto out; while (1) { desc = ioat_get_ring_entry(ioat, ioat->tail); @@ -602,6 +600,7 @@ ioat_process_events(struct ioat_softc *ioat) ioat_timer_callback, ioat); } +out: ioat_write_chanctrl(ioat, IOAT_CHANCTRL_RUN); mtx_unlock(&ioat->cleanup_lock); |