summaryrefslogtreecommitdiffstats
path: root/include/linux/serial_core.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2011-11-22 13:41:24 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-26 20:11:20 -0800
commit448ac154c957c4580531fa0c8f2045816fe2f0e7 (patch)
tree45b5f8c1108baa78841b9fc59a9afdfd67a6c712 /include/linux/serial_core.h
parentd0758a285caaf86192cdb22136a5eb84ed72f276 (diff)
downloadtalos-obmc-linux-448ac154c957c4580531fa0c8f2045816fe2f0e7.tar.gz
talos-obmc-linux-448ac154c957c4580531fa0c8f2045816fe2f0e7.zip
serial/8250_pci: setup-quirk workaround for the kt serial controller
Workaround dropped notifications in the iir register. Prevent reads coincident with new interrupt notifications by reading the iir at most once per interrupt. Reported-by: Nhan H Mai <nhan.h.mai@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Acked-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/serial_core.h')
-rw-r--r--include/linux/serial_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index 945e02cae614..b67305e3ad57 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -351,6 +351,7 @@ struct uart_port {
#define UPF_CONS_FLOW ((__force upf_t) (1 << 23))
#define UPF_SHARE_IRQ ((__force upf_t) (1 << 24))
#define UPF_EXAR_EFR ((__force upf_t) (1 << 25))
+#define UPF_IIR_ONCE ((__force upf_t) (1 << 26))
/* The exact UART type is known and should not be probed. */
#define UPF_FIXED_TYPE ((__force upf_t) (1 << 27))
#define UPF_BOOT_AUTOCONF ((__force upf_t) (1 << 28))
OpenPOWER on IntegriCloud