Hi Alan, Thank you for your quick reply and nice questions. We will have an internal discussion regarding your questions and then I will reply to your questions as soon as possible. Regards, Donald -----Original Message----- From: Alan Cox [mailto:alan@xxxxxxxxxxxxxxxxxxx] Sent: Monday, May 21, 2012 5:30 PM To: Donald Cc: linux-serial@xxxxxxxxxxxxxxx Subject: Re: Questions regarding adding a patch in linux/drivers/char/8250.c On Mon, 21 May 2012 14:19:34 +0800 "Donald" <donald@xxxxxxxxxxx> wrote: > Hi, > > This is Donald from ASIX Electronics Corp. My company has three PCI to Serial controllers, including MCS9845, MCS9835, and MCS9820. > Currently those serial devices using these three chips can directly > use the Linux kernel's serial driver in linux/drivers/char/8250.c. > Recently we find these three chips have a hardware bug relating to parity error count function. We have a software workaround for this issue. Below for reference is a pseudo code for this workaround. Actually I have a second question. Would it not be better to set the device to 8N1 and do the parity in software rather than lose the FIFO, especially at higher speeds ? Can you clarify what the erratum is triggered by ? Alan -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html