Date: Tue, 28 Nov 1995 11:54:20 -0600 (CST) From: Joe Greco <jgreco@brasil.moneng.mei.com> To: msmith@atrad.adelaide.edu.au (Michael Smith) Cc: rich@spirit.com.au, hsu@clinet.fi, msmith@atrad.adelaide.edu.au, freebsd-hackers@freefall.freebsd.org Subject: Re: 16 ports Boca - anyone using it? Message-ID: <199511281754.LAA12778@brasil.moneng.mei.com> In-Reply-To: <199511280856.IAA07993@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Nov 28, 95 08:56:16 am
next in thread | previous in thread | raw e-mail | index | archive | help
> Joe Greco stands accused of saying:
> Yecch.
I've used that word a lot lately, myself :-)
> You could possibly add some code to siopoll() to check the interrupt status
> of open ports, and spew a console printf if it found a port with pending
> interrupt status. Something like :
Ok, I am installing:
wye# diff -c sio.c{.fcs,}
*** sio.c.fcs Tue May 30 03:03:06 1995
--- sio.c Tue Nov 28 11:50:18 1995
***************
*** 1570,1575 ****
--- 1570,1581 ----
}
if (incc <= 0 || !(tp->t_state & TS_ISOPEN))
continue;
+
+ /* Bruce Evans / Michael Smith debug patch.. */
+ iir = inb(com->int_id_port) & 0x07;
+ if ((iir & 1) == 0)
+ log(LOG_DEBUG, "sio%d: IRQ pending (%d) in poll\n", com->unit, iir);
+
/*
* XXX only do this when we bypass ttyinput.
*/
and I will report what happens when it happens.
Thanks guys, I appreciate the help from people who know what the code is
doing... ;-)
... Joe
-------------------------------------------------------------------------------
Joe Greco - Systems Administrator jgreco@ns.sol.net
Solaria Public Access UNIX - Milwaukee, WI 414/342-4847
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511281754.LAA12778>
