2.6.26-stable review patch. If anyone has any objections, please let us know.

------------------From: Will Newton <will.newton@gmail.com>

commit 363f66fe06c75270b669c88e321e6b354ba0201e upstream

Recent changes to tighten the check for UARTs that don't correctlyre-assert THRE (01c194d9278efc15d4785ff205643e9c0bdcef53: "serial 8250:tighten test for using backup timer") caused problems when such a UART wasopened for the second time - the bug could only successfully be detectedat first initialization. For users of this version of this particularUART IP it is fatal.

This patch stores the information about the bug in the bugs field of theport structure when the port is first started up so subsequent opens cancheck this bit even if the test for the bug fails.

David Brownell: "My own exposure to this is that the UART on DaVincihardware, which TI allegedly derived from its original 16550 logic, hasperiodically gone from working to unusable with the mainline 8250.c ...and back and forth a bunch. Currently it's "unusable", a regression fromsome previous versions. With this patch from Will, it's usable."