[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070216210328.GE4641@enneenne.com>
Date: Fri, 16 Feb 2007 22:03:28 +0100
From: Rodolfo Giometti <giometti@...eenne.com>
To: Russell King <rmk+lkml@....linux.org.uk>
Cc: linux-kernel@...r.kernel.org, linuxpps@...enneenne.com
Subject: Re: [PATCH 1/1] LinuxPPS: Pulse per Second support for Linux
On Fri, Feb 16, 2007 at 08:51:35PM +0000, Russell King wrote:
>
> You can't because it doesn't go through the interfaces you're hooking
> into. Existing interfaces are "changed" to point at the UARTs using
> setserial, which does its work via an ioctl.
I see.
> Not specifically only userland - if it happens to be set when the port
> is registered then enable PPS support then as well.
>
> So:
>
> 1. uart_configure_port - if UPF_HARDPPS_CD is set, register the port
> for PPS support.
> 2. uart_remove_one_port - if UPF_HARDPPS_CD is set, unregister the port
> for PPS support.
> 3. uart_set_info - if changing UPF_HARDPPS_CD, appropriately register or
> unregister the port for PPS support.
Ok. I'm going to study how to modify the code.
> PS, linuxpps@...enneenne.com dropped from the cc: since it rejects my
> postings.
I just fixed my spam filter (at least I hope so :).
Thanks,
Rodolfo
--
GNU/Linux Solutions e-mail: giometti@...eenne.com
Linux Device Driver giometti@...dd.com
Embedded Systems giometti@...ux.it
UNIX programming phone: +39 349 2432127
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists