polling for sio?
John-Mark Gurney
gurney_j at efn.org
Wed Apr 7 10:04:51 PDT 2004
othermark wrote this message on Wed, Apr 07, 2004 at 09:17 -0700:
> I'm just looking into DEVICE_POLLING. Would it be difficult to add polling
> functionality to uart or sio? My main objective would be to get rid of
> silo overflows in the sio device for shared interrupt devices.
I would say that more time would be better spent on either lowering
your fifo levels (to make the interrupts trigger earlier), or fix
sio so that COM_MULTIPORT (for shared interrupts) doesn't poll all
sio devices, and instead it keeps track of which devices need to be
polled for each interrupt (and possible use the AST/4 register to
decide which ports to query)....
uart already has most of this logic, but I haven't written an isa
attachment for it to make use of the interrupt routing logic..
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
More information about the freebsd-hackers
mailing list