Messages in this thread |  | | | Date | Tue, 19 Aug 2008 22:53:22 +0100 | | From | Alan Cox <> | | Subject | Re: [PATCH 05/10] ldisc: new dcd_change() method for line disciplines. | |
> + * 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.
> */
uart_port is a specific property of a few random types of interface, pass
a tty struct up. Otherwise looks fine. Might one day expand it to a more
generic change type and pass info on what changed but thats a future
mystery.
|  |