svn commit: r302685 - head/sys/dev/ioat

Conrad E. Meyer cem at FreeBSD.org
Tue Jul 12 21:57:04 UTC 2016


Author: cem
Date: Tue Jul 12 21:57:02 2016
New Revision: 302685
URL: https://svnweb.freebsd.org/changeset/base/302685

Log:
  ioat(4): Add KTR trace for ioat_reset_hw

Modified:
  head/sys/dev/ioat/ioat.c

Modified: head/sys/dev/ioat/ioat.c
==============================================================================
--- head/sys/dev/ioat/ioat.c	Tue Jul 12 21:57:00 2016	(r302684)
+++ head/sys/dev/ioat/ioat.c	Tue Jul 12 21:57:02 2016	(r302685)
@@ -1778,6 +1778,8 @@ ioat_reset_hw(struct ioat_softc *ioat)
 	unsigned timeout;
 	int error;
 
+	CTR0(KTR_IOAT, __func__);
+
 	mtx_lock(IOAT_REFLK);
 	while (ioat->resetting && !ioat->destroying)
 		msleep(&ioat->resetting, IOAT_REFLK, 0, "IRH_drain", 0);


More information about the svn-src-head mailing list