Re: [PATCH] ldisc: new dcd_change() method for line disciplines.

From: Rodolfo Giometti
Date: Fri Nov 28 2008 - 07:58:24 EST


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@xxxxxxxxxxxx
Linux Device Driver giometti@xxxxxxxx
Embedded Systems phone: +39 349 2432127
UNIX programming skype: rodolfo.giometti
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/