svn commit: r305259 - head/sys/dev/ioat
Conrad E. Meyer
cem at FreeBSD.org
Thu Sep 1 23:56:03 UTC 2016
Author: cem
Date: Thu Sep 1 23:56:02 2016
New Revision: 305259
URL: https://svnweb.freebsd.org/changeset/base/305259
Log:
ioat(4): Despam relatively common hardware reset messages
Reported by: ngie@
Modified:
head/sys/dev/ioat/ioat.c
Modified: head/sys/dev/ioat/ioat.c
==============================================================================
--- head/sys/dev/ioat/ioat.c Thu Sep 1 23:52:25 2016 (r305258)
+++ head/sys/dev/ioat/ioat.c Thu Sep 1 23:56:02 2016 (r305259)
@@ -750,13 +750,13 @@ out:
* 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) {
More information about the svn-src-all
mailing list