irda: is it tty or netdevice or both? [was Re: TTY_FLIPBUF_SIZE too low causing dataloss on too fast

Pavel Machek (pavel@atrey.karlin.mff.cuni.cz)
Tue, 1 Jun 1999 16:23:14 +0200


Hi!

> So IrDA SIR mode uses async mode which and has to be framed and stuffed in
> software. MIR and FIR mode are however handled in hardware, and those chips
> has very frame oriented interfaces. So we don't really need any

>From what I seen (pc87108, tir2000), even at MIR/FIR speeds hardware
looks like serial with length-of-packet added. I actually implemented
tir2000 FIR driver as tty - it adds frame begining/end when it
absolutely musts. Being tty has certain advantages in my eyes: most
interesting is "i'm able to test it with simple commands like cat and
echo". Also, being tty I could try to run something else than irda
over that line (for example scarab).

> HDLC TTY handling. In my view IrDA device drivers are network device
> drivers, irtty is actually a line discipline in bottom and a network device

Is it possible to write tty-over-netdevice driver? I would quite like
to be able to transfer data over point-to-point ethernet using zmodem
protocol ;-).
Pavel

-- 
The best software in life is free (not shareware)!		Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/