[ros-dev] serial port type detection (pt. 2)

Mark Junker mjscod at gmx.de
Thu Mar 24 14:36:53 CET 2005


Hi,

in a documentation I saw that I probably had a bug in the patch for the 
serial port type detection. The attached patch should fix the problem.

This comment in this patch also explains what is/was my problem with the 
value(s) specified in the documentation.

Regards,
Mark

-------------- next part --------------
Index: drivers/dd/serial/legacy.c
===================================================================
--- drivers/dd/serial/legacy.c	(revision 14297)
+++ drivers/dd/serial/legacy.c	(working copy)
@@ -62,7 +62,11 @@
 	{
 		case 0x00:
 			return Uart16450;
+		case 0x40:
 		case 0x80:
+			/* Not sure about this but the documentation says that 0x40
+			 * indicates an unusable FIFO but my tests only worked
+			 * with 0x80 */
 			return Uart16550;
 	}
 	


More information about the Ros-dev mailing list