NetBSD/sys
garbled 76a99a952a Fix the endless stream of 7's problem on i8259-like interrupt controllers
once and for all.  The i8259 does not like to be read in a loop, when an
interrupt comes in, it will return a valid value, however, if you keep
reading it until there are no outstanding interrupts, it will return 7
(which is the lpt interrupt).  Change the pic handler to give an argument
to the get_irq functions of mode, which indicates if this is the first
time we are asking, or if we are just rechecking in a loop.  Non-i8259
handlers can safely ignore this argument.

Tested to fix the stream of 7's problem on prep and ofppc.  Got rid of
the nasty hack in ofppc with this too, and the prep machine seems to take
less interrupts now, which is a good thing.
2007-12-11 18:04:18 +00:00
..
altq
arch Fix the endless stream of 7's problem on i8259-like interrupt controllers 2007-12-11 18:04:18 +00:00
coda Remove cn_lwp from struct componentname. curlwp should be used 2007-12-08 19:29:36 +00:00
compat use __KERNEL_RCSID() 2007-12-11 13:22:50 +00:00
conf Merge jmcneill-pm branch. 2007-12-09 20:27:42 +00:00
contrib/dev/ath use __KERNEL_RCSID() 2007-12-11 05:20:33 +00:00
crypto
ddb ps/w: display LWP info. 2007-12-02 19:35:33 +00:00
dev use __KERNEL_RCSID() 2007-12-11 12:29:11 +00:00
dist NetBSD RCSID love 2007-12-11 13:16:00 +00:00
fs use __KERNEL_RCSID() instead of __RCSID() 2007-12-11 12:05:27 +00:00
gdbscripts
ipkdb Improve chances of having this file compiled. 2007-11-24 14:20:41 +00:00
kern use __KERNEL_RCSID() instead of __RCSID() 2007-12-11 12:16:34 +00:00
lib ufs_ls.c doesn't belong to lfs. 2007-12-08 16:00:25 +00:00
lkm
miscfs Remove cn_lwp from struct componentname. curlwp should be used 2007-12-08 19:29:36 +00:00
net use __KERNEL_RCSID() 2007-12-11 12:29:11 +00:00
net80211 use __KERNEL_RCSID() 2007-12-11 12:40:10 +00:00
netatalk Use ifa_insert(), ifa_remove(). 2007-12-06 00:28:36 +00:00
netbt [experimentally] report failing commands 2007-11-28 21:46:52 +00:00
netinet use __KERNEL_RCSID() 2007-12-11 12:29:11 +00:00
netinet6 use __KERNEL_RCSID() 2007-12-11 12:29:11 +00:00
netipsec use __KERNEL_RCSID() 2007-12-11 12:40:10 +00:00
netisdn Do not "return 1" from kqfilter for errors. That value is passed 2007-12-05 17:19:46 +00:00
netiso Use struct initializers. No functional change. 2007-12-07 18:49:35 +00:00
netkey Use struct initializers. No functional change. 2007-12-07 19:46:18 +00:00
netnatm Use struct initializers. No functional change. 2007-12-07 19:46:18 +00:00
netsmb
nfs Remove cn_lwp from struct componentname. curlwp should be used 2007-12-08 19:29:36 +00:00
opencrypto
rump Remove cn_lwp from struct componentname. curlwp should be used 2007-12-08 19:29:36 +00:00
secmodel Add PT_TRACE_ME to switch statement. 2007-12-01 21:59:49 +00:00
stand
sys Add TAILQ_CONCAT() and STAILQ_CONCAT(), from FreeBSD. 2007-12-11 11:24:21 +00:00
ufs use __KERNEL_RCSID() instead of __RCSID() 2007-12-11 12:16:34 +00:00
uvm Remove cn_lwp from struct componentname. curlwp should be used 2007-12-08 19:29:36 +00:00
Makefile