aboutsummaryrefslogtreecommitdiff
path: root/drivers/serial/8250.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-06-23 10:43:04 +0100
committerRussell King <rmk@dyn-67.arm.linux.org.uk>2005-06-23 10:43:04 +0100
commit4ba5e35daa90871fcb9b01f5ad1e5723343cc0a9 (patch)
tree26c52f5ff50c54f210c53e986f565c6f29409ca1 /drivers/serial/8250.h
parentb7c84c6ada2be942eca6722edb2cfaad412cd5de (diff)
[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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/serial/8250.h b/drivers/serial/8250.h
index 4f3d62f222f..cd5c3dd2d91 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