[LinuxPPS] ntpd
Folkert van Heusden
folkert at vanheusden.com
Thu Aug 3 20:16:42 CEST 2006
> > As you can see the several modules trying to register different ports
> > at the same "port line"... I don't know why but this generate the
> > wrong content of file /proc/pps/sources.
>
> Now can you modify the code as follow:
> int uart_add_one_port(struct uart_driver *drv, struct uart_port *port)
> {
> printk("PPS-TEST port line %d\n", port->line);
> and
> static void
> uart_configure_port(struct uart_driver *drv, struct uart_state *state,
> struct uart_port *port)
> {
> printk("PPS-TEST2 port line %d\n", port->line);
> Now, we should see 8 times the message PPS-TEST but only 4 time
> PPS-TEST2...
Nope:
[42950148.900000] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[42950148.930000] PPS-TEST port line 0
[42950148.930000] PPS-TEST2 port line 0
[42950148.930000] drivers/serial/8250.c: registered 8250 source 0 at line 0
[42950148.930000] PPS-TEST port line 1
[42950148.930000] PPS-TEST2 port line 1
[42950148.960000] drivers/serial/8250.c: registered 8250 source 1 at line 1
[42950148.960000] PPS-TEST port line 2
[42950148.960000] PPS-TEST2 port line 2
[42950148.980000] drivers/serial/8250.c: registered 8250 source 2 at line 2
[42950148.980000] PPS-TEST port line 3
[42950148.980000] PPS-TEST2 port line 3
[42950149.040000] drivers/serial/8250.c: registered 8250 source 3 at line 3
Folkert van Heusden
--
www.biglumber.com <- site where one can exchange PGP key signatures
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
More information about the LinuxPPS
mailing list