Re: [PATCH 5/7] PPS: serial clients support.

From: Rodolfo Giometti
Date: Wed Apr 30 2008 - 07:42:36 EST


On Fri, Apr 11, 2008 at 03:46:52PM +0100, Alan Cox wrote:
>
> uart_ is only used by some drivers. We have a whole army of drivers using
> the tty layer directly and another army of drivers using the USB layer.
>
> You also need a sensible way to talk to the devices, identify support and
> avoid clashing uses of carrier pins.

Hello Alan,

if I add a dedicated line discipline to register/unregister the PPS
source and I leave the pps_event management into
uart_handle_dcd_change() function, it can be acceptable?

The uart_handle_dcd_change() is generic and I need the DCD status to
correctly manage the pps_event. The USB layer is not useful for PPS
stuff.

Thanks for your suggestions,

Rodolfo

--

GNU/Linux Solutions e-mail: giometti@xxxxxxxxxxxx
Linux Device Driver giometti@xxxxxxxx
Embedded Systems phone: +39 349 2432127
UNIX programming skype: rodolfo.giometti
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/