diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-06-23 09:43:04 (GMT) |
---|---|---|
committer | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-06-23 09:43:04 (GMT) |
commit | 4ba5e35daa90871fcb9b01f5ad1e5723343cc0a9 (patch) | |
tree | 26c52f5ff50c54f210c53e986f565c6f29409ca1 /drivers/serial/8250.h | |
parent | b7c84c6ada2be942eca6722edb2cfaad412cd5de (diff) | |
download | linux-fsl-qoriq-4ba5e35daa90871fcb9b01f5ad1e5723343cc0a9.tar.xz |
[PATCH] Serial: Convert 8250 revision-based bug fixes to bug bitmask
For some 8250 port types, we used to check the type of the port, and
then determine whether the chip revision means the device is buggy.
Instead, introduce a bit array, and set the appropriate bit(s) when
we discover a buggy device.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/serial/8250.h')
-rw-r--r-- | drivers/serial/8250.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/serial/8250.h b/drivers/serial/8250.h index 4f3d62f..cd5c3dd 100644 --- a/drivers/serial/8250.h +++ b/drivers/serial/8250.h @@ -51,6 +51,8 @@ struct serial8250_config { #define UART_CAP_AFE (1 << 11) /* MCR-based hw flow control */ #define UART_CAP_UUE (1 << 12) /* UART needs IER bit 6 set (Xscale) */ +#define UART_BUG_QUOT (1 << 0) /* UART has buggy quot LSB */ + #if defined(__i386__) && (defined(CONFIG_M386) || defined(CONFIG_M486)) #define _INLINE_ inline #else |