>Perhaps you could add some hooks to the serial driver to allow you to 
>specify a routine to call when it wants to do IO or somesuch. (err no 
>idea how feasible that is)

No, the right thing to do is simply to implement the IrCOMM driver, and
any other serial drivers, in parallel to the existing serial.c.  It might 
be possible to pull out some common routines into a library of some sort, 
but the "serial mid-layer" approach has been tried by the m68k people and 
found to be wanting.

p.


Reply via email to