From cba32aa25f24cfd49120a1f6be81bdc712d1ff3e Mon Sep 17 00:00:00 2001 From: mycroft Date: Fri, 25 Nov 1994 08:17:21 +0000 Subject: [PATCH] Minor update for new autoconfig. --- sys/arch/i386/isa/com.c | 4 ++-- sys/dev/ic/com.c | 4 ++-- sys/dev/isa/com.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/arch/i386/isa/com.c b/sys/arch/i386/isa/com.c index 505a014cb3c5..13ca1ccda397 100644 --- a/sys/arch/i386/isa/com.c +++ b/sys/arch/i386/isa/com.c @@ -1,4 +1,4 @@ -/* $NetBSD: com.c,v 1.41 1994/11/18 22:03:02 mycroft Exp $ */ +/* $NetBSD: com.c,v 1.42 1994/11/25 08:17:21 mycroft Exp $ */ /*- * Copyright (c) 1993, 1994 Charles Hannum. @@ -212,7 +212,7 @@ comattach(parent, self, aux) outb(iobase + com_ier, 0); outb(iobase + com_mcr, 0); - if (!parent) { /* XXX no master */ + if (ia->ia_irq != IRQUNK) { sc->sc_ih.ih_fun = comintr; sc->sc_ih.ih_arg = sc; sc->sc_ih.ih_level = IPL_TTY; diff --git a/sys/dev/ic/com.c b/sys/dev/ic/com.c index 505a014cb3c5..13ca1ccda397 100644 --- a/sys/dev/ic/com.c +++ b/sys/dev/ic/com.c @@ -1,4 +1,4 @@ -/* $NetBSD: com.c,v 1.41 1994/11/18 22:03:02 mycroft Exp $ */ +/* $NetBSD: com.c,v 1.42 1994/11/25 08:17:21 mycroft Exp $ */ /*- * Copyright (c) 1993, 1994 Charles Hannum. @@ -212,7 +212,7 @@ comattach(parent, self, aux) outb(iobase + com_ier, 0); outb(iobase + com_mcr, 0); - if (!parent) { /* XXX no master */ + if (ia->ia_irq != IRQUNK) { sc->sc_ih.ih_fun = comintr; sc->sc_ih.ih_arg = sc; sc->sc_ih.ih_level = IPL_TTY; diff --git a/sys/dev/isa/com.c b/sys/dev/isa/com.c index 505a014cb3c5..13ca1ccda397 100644 --- a/sys/dev/isa/com.c +++ b/sys/dev/isa/com.c @@ -1,4 +1,4 @@ -/* $NetBSD: com.c,v 1.41 1994/11/18 22:03:02 mycroft Exp $ */ +/* $NetBSD: com.c,v 1.42 1994/11/25 08:17:21 mycroft Exp $ */ /*- * Copyright (c) 1993, 1994 Charles Hannum. @@ -212,7 +212,7 @@ comattach(parent, self, aux) outb(iobase + com_ier, 0); outb(iobase + com_mcr, 0); - if (!parent) { /* XXX no master */ + if (ia->ia_irq != IRQUNK) { sc->sc_ih.ih_fun = comintr; sc->sc_ih.ih_arg = sc; sc->sc_ih.ih_level = IPL_TTY;