This trivial patch adds support for mark and space parity. I have no idea what standard this is based on as it was purely to get mark and space parity to work under Tcl. Basically you turn PAREXT and PARODD to get mark and PAREXT for space. I'm not sure if extra magic is needed for reading back the flags or not, but I guess that the tty layer caches that info for the application. How-To-Repeat: Patch for 3.0 is at http://www.gsoft.com.au/~doconnor/PAREXT-3-patch I should be trivial to apply to current.
Responsible Changed From-To: freebsd-bugs->bde Bruce, you know the scriptures as far as ttys go, is this the right way to get mark and space parity ?
Not sure this PR is relevant anymore. While sio(4) still exists in tree (and still does not support mark/space parity), almost(?) everyone seems to use uart(4) now. Mark/space parity are at least mentioned in the uart source a few times; I did not have a closer look if it is supported though.
batch change: For bugs that match the following - Status Is In progress AND - Untouched since 2018-01-01. AND - Affects Base System OR Documentation DO: Reset to open status. Note: I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.
I've made a patch to extend uart tty to support mark/space parity configuration. I've tested it with UART NS8250 and it works. (after https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237576 is fixed). Please have a look over it, if you think it makes sense to have it.
Reclaim for bugs@.
*** This bug has been marked as a duplicate of bug 237576 ***