From fd35ecc3226949fd018a08b41861e44e02bfde92 Mon Sep 17 00:00:00 2001 From: Nate Williams Date: Mon, 6 Oct 1997 04:27:32 +0000 Subject: [PATCH] - 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. --- sys/kern/kern_intr.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c index 14e2d61e46bf..4d2e3b9d84fb 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);