diff options
author | Shimoda, Yoshihiro <yoshihiro.shimoda.uh@renesas.com> | 2012-04-05 20:59:14 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-04-09 04:39:34 -0400 |
commit | bbb4ce50f3169b08764f9965fd5b9655646d545a (patch) | |
tree | 78d1a6638af4dd952d78eb6e5cc5c7026bec0146 /include/linux/serial_sci.h | |
parent | 0034102808e0dbbf3a2394b82b1bb40b5778de9e (diff) |
serial: sh-sci: modify sci_break_ctl()
SCIF modules which have SCSPTR can output the break signal. Now that we
have a way of determining port features/capabilities, add trivial break
control via SCSPTR support. Tested on sh7757lcr.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/linux/serial_sci.h')
-rw-r--r-- | include/linux/serial_sci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/serial_sci.h b/include/linux/serial_sci.h index 78779074f6e8..eb763adf9815 100644 --- a/include/linux/serial_sci.h +++ b/include/linux/serial_sci.h | |||
@@ -52,6 +52,8 @@ enum { | |||
52 | /* SCSPTR, optional */ | 52 | /* SCSPTR, optional */ |
53 | #define SCSPTR_RTSIO (1 << 7) | 53 | #define SCSPTR_RTSIO (1 << 7) |
54 | #define SCSPTR_CTSIO (1 << 5) | 54 | #define SCSPTR_CTSIO (1 << 5) |
55 | #define SCSPTR_SPB2IO (1 << 1) | ||
56 | #define SCSPTR_SPB2DT (1 << 0) | ||
55 | 57 | ||
56 | /* Offsets into the sci_port->irqs array */ | 58 | /* Offsets into the sci_port->irqs array */ |
57 | enum { | 59 | enum { |