[LinuxPPS] weird behaviour again

Rodolfo Giometti giometti at enneenne.com
Thu Dec 14 10:57:45 CET 2006


On Thu, Dec 07, 2006 at 04:32:03PM +0100, Bernhard Schiffner wrote:

> It's on the way already.
> (By some private mail to Rodolfo before this ...)

Can you please try adding this line and report the log messages?

diff --git a/drivers/serial/serial_core.c b/drivers/serial/serial_core.c
index c67b05e..c790e77 100644
--- a/drivers/serial/serial_core.c
+++ b/drivers/serial/serial_core.c
@@ -2288,6 +2288,7 @@ int uart_add_one_port(struct uart_driver
 	 * Register the port whether it's detected or not.  This allows
 	 * setserial to be used to alter this ports parameters.
 	 */
+printk("%s: line %d\n", __FUNCTION__, drv->tty_driver->minor_start+port->line);
	tty_register_device(drv->tty_driver, port->line, port->dev);
 
 	/*

Thanks,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail:    giometti at enneenne.com
Linux Device Driver                             giometti at gnudd.com
Embedded Systems                     		giometti at linux.it
UNIX programming                     phone:     +39 349 2432127



More information about the LinuxPPS mailing list