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

From: Tilman Schmidt
Date: Fri Nov 28 2008 - 06:42:38 EST


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?

Thanks,
Tilman

--
Tilman Schmidt E-Mail: tilman@xxxxxxx
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)

Attachment: signature.asc
Description: OpenPGP digital signature