RE: Questions regarding adding a patch in linux/drivers/char/8250.c
From: Donald <hidden>
Date: 2012-05-21 12:56:02
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@lxorguk.ukuu.org.uk] Sent: Monday, May 21, 2012 5:30 PM To: Donald Cc: linux-serial@vger.kernel.org Subject: Re: Questions regarding adding a patch in linux/drivers/char/8250.c On Mon, 21 May 2012 14:19:34 +0800 "Donald" [off-list ref] 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