lkml.org 
[lkml]   [2008]   [Aug]   [19]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 20 Aug 2008 00:49:31 +0200
FromRodolfo Giometti <>
SubjectRe: [PATCH 05/10] ldisc: new dcd_change() method for line disciplines.
On Tue, Aug 19, 2008 at 10:53:22PM +0100, Alan Cox wrote:
> > + * 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.

How can I get the struct uart_port pointer starting from struct
tty_struct one? I need it in order to know which is the IRQ line of a
single port.

Thanks,

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-08-20 00:53    [from the cache]
©2003-2008