Messages in this thread | | | Date | Fri, 28 Nov 2008 13:57:22 +0100 | From | Rodolfo Giometti <> | Subject | Re: [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
| |