summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/mrst_max3110.h
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2011-08-26 11:25:35 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-26 11:01:15 -0700
commit51808f051ede81865b7af351d6c230a1ac244a22 (patch)
tree434d609919c476e0679bc0260424639257d91f1c /drivers/tty/serial/mrst_max3110.h
parentefe3ed9837fd2f9679659673f1d2078f1597bf18 (diff)
max3110: add sysrq support
This patch moves several occurences of similar code inside receive_chars(), which now also takes care of checking for break and calling sysrq handling code. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/tty/serial/mrst_max3110.h')
-rw-r--r--drivers/tty/serial/mrst_max3110.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/mrst_max3110.h b/drivers/tty/serial/mrst_max3110.h
index c37ea48c825a..35af0739513b 100644
--- a/drivers/tty/serial/mrst_max3110.h
+++ b/drivers/tty/serial/mrst_max3110.h
@@ -7,6 +7,7 @@
/* status bits for all 4 MAX3110 operate modes */
#define MAX3110_READ_DATA_AVAILABLE (1 << 15)
#define MAX3110_WRITE_BUF_EMPTY (1 << 14)
+#define MAX3110_BREAK (1 << 10)
#define WC_TAG (3 << 14)
#define RC_TAG (1 << 14)