Hello, I wrote:
Here is a serial driver patch for the PMC-Sierra MSP71xx device.
There are three different fixes: 1. Fix for THRE errata 2. Fix for Busy Detect on LCR write 3. Workaround for interrupt/data concurrency issue
The first fix is handled cleanly using a UART_BUG_* flag.
Hm, I wouldn't call it clean...
Relative to the other two. Any recommended improvements on this one?
I already told: runtime check.
BTW, I've just came accross 2 patches in the -mm tree related to the transmitter bug:
http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc4/2.6.20-rc4-mm1/broken-out/8250-make-probing-for-txen-bug-a-config-option.patch http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc4/2.6.20-rc4-mm1/broken-out/8250-uart-backup-timer.patch
Thanks, Marc
WBR, Sergei