lkml.org 
[lkml]   [2008]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ldisc: new dcd_change() method for line disciplines.
On Fri, Nov 28, 2008 at 12:39:16PM +0100, Tilman Schmidt wrote:
> Rodolfo Giometti schrieb:
> > --- a/include/linux/tty_ldisc.h
> > +++ b/include/linux/tty_ldisc.h
> > @@ -99,11 +99,19 @@
> > * cease I/O to the tty driver. Can sleep. The driver should
> > * seek to perform this action quickly but should wait until
> > * any pending driver I/O is completed.
> > + *
> > + * void (*dcd_change)(struct uart_port *port, unsigned int status,
> > + * struct timespec *ts)
> > + *
> > + * Tells the discipline that the DCD pin has changed its status and
> > + * the relative timestamp. Pointer ts can be NULL.
> > */
>
> I don't see an actual call to that new method getting added anywhere.
> Is that planned for a later patch? Which serial drivers will support
> that mechanism? Should the documentation perhaps mention that not
> all drivers support this?

See patch pps-serial-clients-support.patch into this patchset.

Ciao,

Rodolfo

--

GNU/Linux Solutions e-mail: giometti@enneenne.com
Linux Device Driver giometti@linux.it
Embedded Systems phone: +39 349 2432127
UNIX programming skype: rodolfo.giometti


\
 
 \ /
  Last update: 2008-11-28 14:01    [W:0.078 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site