[PATCH] Serial: Convert 8250 revision-based bug fixes to bug bitmask
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 23 Jun 2005 09:43:04 +0000 (10:43 +0100)
committerRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 23 Jun 2005 09:43:04 +0000 (10:43 +0100)
commit4ba5e35daa90871fcb9b01f5ad1e5723343cc0a9
tree26c52f5ff50c54f210c53e986f565c6f29409ca1
parentb7c84c6ada2be942eca6722edb2cfaad412cd5de
[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>
drivers/serial/8250.c
drivers/serial/8250.h