Hi,

Simple patch to support two stop bits with native serial port.

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/
Index: qemu/vl.c
===================================================================
--- qemu.orig/vl.c      2006-09-09 10:14:02.000000000 +0000
+++ qemu/vl.c   2006-09-09 10:14:53.000000000 +0000
@@ -1625,7 +1625,9 @@
        tty.c_cflag |= PARENB | PARODD;
        break;
    }
-
+    if (stop_bits == 2)
+        tty.c_cflag |= CSTOPB;
+
    tcsetattr (fd, TCSANOW, &tty);
}


_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to