Subject: /netbsd: com0: weird interrupt: iir=0x0a (was: PPP hang)
To: None <port-i386@NetBSD.ORG>
From: Randy Terbush <randy@zyzzyva.com>
List: port-i386
Date: 05/01/1995 18:52:25
The following is what is causing my PPP connection to hang.
Can someone more in the know give me a hint as to what is 
happening?

May  1 14:48:39 sierra /netbsd: com0: weird interrupt: iir=0x0a

This comes from comintr() in dev/isa/com.c.  It appears to
my novice eyes that we should break; here rather than reading
bogus data.



 } else {
            log(LOG_WARNING, "%s: weird interrupt: iir=0x%02x\n",
                sc->sc_dev.dv_xname, code);
        }
        code = inb(iobase + com_iir) & IIR_IMASK;
        if (code & IIR_NOPEND)
            return 1;