On Sat, 14 Jan 2012, NeilBrown wrote: > On Fri, 13 Jan 2012 16:34:06 -0700 (MST) Paul Walmsley <paul@xxxxxxxxx> wrote: > > > > > > So ideally this formula should change the "8" depending on the number of > > data bits, whether there is a parity bit, and on the number of stop bits. > > The real formula to determine the number of bits per byte should be > > something like: > > > > bits_per_byte = number of data bits + 1 bit if parity is used + number > > of stop bits > + 1 for the start bit. Indeed... - Paul -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html