lkml.org 
[lkml]   [1999]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectirda: is it tty or netdevice or both? [was Re: TTY_FLIPBUF_SIZE too low causing dataloss on too fast serial lines?]
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/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.053 / U:0.968 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site