diff options
| author | Alex Williamson <alex.williamson@com.rmk.(none)> | 2005-02-28 16:09:45 +0000 |
|---|---|---|
| committer | Russell King <rmk@flint.arm.linux.org.uk> | 2005-02-28 16:09:45 +0000 |
| commit | 25f34d0f108e72f383b69751f2722f253e31ef4d (patch) | |
| tree | 6ebf067d292692aaae9109c3a2d63c6c0480473c /include/linux/init_task.h | |
| parent | ae48fc35e20494e897ffe4212d279b86673000e7 (diff) | |
[SERIAL] 8250 woraround for buggy uart
Patch from Alex Williamson
This patch adds support for detecting and working around a bug in
the A2 rev of the Exar ST16C2550 UART. The chip incorrectly
advertises an EFR and mis-detects as having the wrong size FIFO.
Much of the patch below is Russell's proposed solution to the
problem. The only changes I've made are to check the FIFO size
on the part (because there is a real part with the same divisor
ID and larger FIFO) and save and restore the LCR register around
the size_fifo() routine (it doesn't work correctly with a LCR
value of 0xBF).
Signed-off-by: Alex Williamson
Signed-off-by: Russell King
Diffstat (limited to 'include/linux/init_task.h')
0 files changed, 0 insertions, 0 deletions
