mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 17:11:46 +00:00
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>
This commit is contained in:
parent
0034102808
commit
bbb4ce50f3
2 changed files with 28 additions and 4 deletions
|
@ -52,6 +52,8 @@ enum {
|
|||
/* SCSPTR, optional */
|
||||
#define SCSPTR_RTSIO (1 << 7)
|
||||
#define SCSPTR_CTSIO (1 << 5)
|
||||
#define SCSPTR_SPB2IO (1 << 1)
|
||||
#define SCSPTR_SPB2DT (1 << 0)
|
||||
|
||||
/* Offsets into the sci_port->irqs array */
|
||||
enum {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue