[lkml]   [2002]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Custom Driver to Serial Driver Read Interface Problem
>  I am writing a kernel mode device driver which needs to read and write data
> from serial port ( /dev/ttyS1 in this case ).

You want to be a line discipline. Take a look at slip.c as an example. Thats
a line discipline one end and a network protocol the other. It gets called
when there is stuff for reading and room to send, it has calls to send more
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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