summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_intr.c
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1997-10-06 04:27:32 +0000
committernate <nate@FreeBSD.org>1997-10-06 04:27:32 +0000
commit1416ff35fab8b92a92ccd83f73dfe60bc0a18c83 (patch)
tree96f695fd6ae1a890261b0f1d021ec4c2c7e80d6b /sys/kern/kern_intr.c
parent6e2db92a71d8d76f1accbcb1674c0c4acdde5f91 (diff)
downloadFreeBSD-src-1416ff35fab8b92a92ccd83f73dfe60bc0a18c83.zip
FreeBSD-src-1416ff35fab8b92a92ccd83f73dfe60bc0a18c83.tar.gz
- Hide the 'device doesn't supported shared interrupts' code behind
bootverbose, since the older register_intr() code didn't print out anything, and the laptop support will cause lots of these un-necessary messages.
Diffstat (limited to 'sys/kern/kern_intr.c')
-rw-r--r--sys/kern/kern_intr.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c
index 14e2d61..4d2e3b9 100644
--- a/sys/kern/kern_intr.c
+++ b/sys/kern/kern_intr.c
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: kern_intr.c,v 1.4 1997/08/21 06:36:02 smp Exp smp $
+ * $Id: kern_intr.c,v 1.11 1997/08/21 06:39:41 fsmp Exp $
*
*/
@@ -199,8 +199,9 @@ add_intrdesc(intrec *idesc)
* can't append new handler, if either list head or
* new handler do not allow interrupts to be shared
*/
- printf("\tdevice combination doesn't support shared irq%d\n",
- irq);
+ if (bootverbose)
+ printf("\tdevice combination doesn't support "
+ "shared irq%d\n", irq);
return (-1);
}
if (head->next == NULL) {
@@ -258,7 +259,7 @@ intr_connect(intrec *idesc)
errcode = add_intrdesc(idesc);
splx(oldspl);
}
- if (errcode != 0)
+ if (errcode != 0 && bootverbose)
printf("\tintr_connect(irq%d) failed, result=%d\n",
irq, errcode);
OpenPOWER on IntegriCloud