ioat(4): Add KTR trace for ioat_reset_hw

This commit is contained in:
Conrad Meyer 2016-07-12 21:57:02 +00:00
parent bd17dd691e
commit 6d41e1ed15
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=302685

View File

@ -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);