NetBSD/sys/arch/ofppc
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
..
compile Rework how KERNOBJDIR functions; now it's always determined with 2003-01-06 17:40:18 +00:00
conf Switch ofppc to the unified powerpc majors file. This should make single 2007-12-10 18:19:45 +00:00
include Apply a set of patches from Frank Wille to make the genfb attachment work 2007-11-26 19:58:29 +00:00
isa Lots of small changes for ofppc: 2007-11-05 15:49:02 +00:00
ofppc Fix the endless stream of 7's problem on i8259-like interrupt controllers 2007-12-11 18:04:18 +00:00
pci Apply a set of patches from Frank Wille to make the genfb attachment work 2007-11-26 19:58:29 +00:00
stand Fix a typo in a comment, and while here also drop trailing whitespace. 2007-11-24 15:49:32 +00:00
Makefile Rework how KERNOBJDIR functions; now it's always determined with 2003-01-06 17:40:18 +00:00