login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
19
Re: [PATCH 05/10] ldisc: new dcd_change() method for line disciplines.
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Alan Cox
Subject:
Re: [PATCH 05/10] ldisc: new dcd_change() method for line disciplines.
Date: Tuesday, August 19, 2008 - 3:38 pm
On Wed, 20 Aug 2008 00:49:31 +0200 Rodolfo Giometti <giometti@enneenne.com> wrote:
quoted text
> 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?
A tty may not even have a uart structure. Why do you need to know the interrupt (if such a concept even exists for the given tty) ? Alan --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
LinuxPPS (RESUBMIT 6): the PPS Linux implementation.
, Rodolfo Giometti
, (Tue Aug 19, 2:50 pm)
[PATCH 01/10] LinuxPPS core support.
, Rodolfo Giometti
, (Tue Aug 19, 2:50 pm)
[PATCH 02/10] PPS: userland header file for PPS API.
, Rodolfo Giometti
, (Tue Aug 19, 2:50 pm)
[PATCH 03/10] PPS: documentation programs and examples.
, Rodolfo Giometti
, (Tue Aug 19, 2:50 pm)
[PATCH 04/10] PPS: LinuxPPS clients support.
, Rodolfo Giometti
, (Tue Aug 19, 2:50 pm)
[PATCH 05/10] ldisc: new dcd_change() method for line disc ...
, Rodolfo Giometti
, (Tue Aug 19, 2:50 pm)
[PATCH 06/10] ldisc n_tty: export all N_TTY ldisc methods.
, Rodolfo Giometti
, (Tue Aug 19, 2:50 pm)
[PATCH 07/10] tty: new PPS line discipline.
, Rodolfo Giometti
, (Tue Aug 19, 2:50 pm)
[PATCH 08/10] PPS: serial clients support.
, Rodolfo Giometti
, (Tue Aug 19, 2:50 pm)
Re: [PATCH 05/10] ldisc: new dcd_change() method for line ...
, Alan Cox
, (Tue Aug 19, 2:53 pm)
Re: [PATCH 07/10] tty: new PPS line discipline.
, Alan Cox
, (Tue Aug 19, 2:54 pm)
Re: [PATCH 08/10] PPS: serial clients support.
, Alan Cox
, (Tue Aug 19, 2:56 pm)
Re: [PATCH 06/10] ldisc n_tty: export all N_TTY ldisc methods.
, Alan Cox
, (Tue Aug 19, 2:58 pm)
Re: [PATCH 05/10] ldisc: new dcd_change() method for line ...
, Alan Cox
, (Tue Aug 19, 3:38 pm)
Re: [PATCH 05/10] ldisc: new dcd_change() method for line ...
, Rodolfo Giometti
, (Tue Aug 19, 3:49 pm)
Re: [PATCH 05/10] ldisc: new dcd_change() method for line ...
, Rodolfo Giometti
, (Tue Aug 19, 4:05 pm)
Re: [PATCH 01/10] LinuxPPS core support.
, H. Peter Anvin
, (Tue Aug 19, 4:22 pm)
Re: [PATCH 05/10] ldisc: new dcd_change() method for line ...
, Rodolfo Giometti
, (Wed Aug 20, 1:53 am)
Re: [PATCH 01/10] LinuxPPS core support.
, Rodolfo Giometti
, (Wed Aug 20, 2:13 am)
Re: [PATCH 05/10] ldisc: new dcd_change() method for line ...
, Alan Cox
, (Wed Aug 20, 3:11 am)
Re: [PATCH 05/10] ldisc: new dcd_change() method for line ...
, Rodolfo Giometti
, (Wed Aug 20, 6:01 am)
Re: [PATCH 05/10] ldisc: new dcd_change() method for line ...
, Ingo Molnar
, (Wed Aug 20, 6:48 am)
Re: [PATCH 05/10] ldisc: new dcd_change() method for line ...
, Rodolfo Giometti
, (Wed Aug 20, 7:05 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Jesse Barnes
Re: [stable] [BUG][PATCH] cpqphp: fix kernel NULL pointer dereference
Greg KH
[003/136] p54usb: add Zcomax XG-705A usbid
Magnus Damm
[PATCH 03/07] ARM: Use shared GIC entry macros on Realview
Oliver Neukum
Re: [Bug #13682] The webcam stopped working when upgrading from 2.6.29 to 2.6.30
Martin Schwidefsky
Re: [PATCH] optimized ktime_get[_ts] for GENERIC_TIME=y
git
:
Junio C Hamano
Re: Some advanced index playing
Jeff King
Re: confusion over the new branch and merge config
Robin Rosenberg
Re: cvs2svn conversion directly to git ready for experimentation
Linus Torvalds
git binary size...
Ævar Arnfjörð Bjarmason
Re: Challenge with Git-Bash
git-commits-head
:
Linux Kernel Mailing List
md: move allocation of ->queue from mddev_find to md_probe
Linux Kernel Mailing List
md: raid0: Represent zone->zone_offset in sectors.
Linux Kernel Mailing List
[ARM] S3C24XX: Add gpio_to_irq() facility
Linux Kernel Mailing List
md: raid0_make_request(): Replace local variable block by sector.
Linux Kernel Mailing List
md: Allow md devices to be created by name.
linux-netdev
:
kaber
[PATCH 07/12] netfilter: xtables: change hotdrop pointer to direct modification
Gerrit Renker
[PATCH 3/5] dccp ccid-2: Remove redundant sanity tests
David