The following reply was made to PR kern/47957; it has been noted by GNATS.
From: "Martin Husemann" <martin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/47957 CVS commit: src/sys/dev/ic
Date: Mon, 24 Jun 2013 19:43:58 +0000
Module Name: src
Committed By: martin
Date: Mon Jun 24 19:43:58 UTC 2013
Modified Files:
src/sys/dev/ic: athn.c
Log Message:
Stopgap for PR kern/47957: when reinitializing the chip in if_timeout,
avoid pmf operations as we are called from softint context.
This is not a 100% solution, since we still may end up panicing if
initialization fails.
Instead of hacking around it on a per driver level, wouldn't it be better
to have a single global workqueue and dispatch the if_slowtimo() calls
via that?
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/ic/athn.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.