ioat(4): Despam relatively common hardware reset messages

Reported by:	ngie@
This commit is contained in:
Conrad Meyer 2016-09-01 23:56:02 +00:00
parent b3cf0fa874
commit 985efa77cc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=305259

View File

@ -750,13 +750,13 @@ ioat_process_events(struct ioat_softc *ioat)
* Fatal programming error on this DMA channel. Flush any outstanding
* work with error status and restart the engine.
*/
ioat_log_message(0, "Channel halted due to fatal programming error\n");
mtx_lock(&ioat->submit_lock);
mtx_lock(&ioat->cleanup_lock);
ioat->quiescing = TRUE;
chanerr = ioat_read_4(ioat, IOAT_CHANERR_OFFSET);
ioat_halted_debug(ioat, chanerr);
if (1 <= g_ioat_debug_level)
ioat_halted_debug(ioat, chanerr);
ioat->stats.last_halt_chanerr = chanerr;
while (ioat_get_active(ioat) > 0) {