summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/sh-sci.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-04-30 16:21:28 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-10 17:06:38 (GMT)
commit31f90796c66876ea1894ea93e394b264e69dfdfc (patch)
tree3a791d7cc075816b15687a16281af4a859a5a12b /drivers/tty/serial/sh-sci.h
parentc097abc33f70f0d59618b779cbca3df358c88a57 (diff)
downloadlinux-31f90796c66876ea1894ea93e394b264e69dfdfc.tar.xz
serial: sh-sci: Document remaining FIFO Control Register bits
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sh-sci.h')
-rw-r--r--drivers/tty/serial/sh-sci.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/tty/serial/sh-sci.h b/drivers/tty/serial/sh-sci.h
index 2bae842..1586d68 100644
--- a/drivers/tty/serial/sh-sci.h
+++ b/drivers/tty/serial/sh-sci.h
@@ -65,9 +65,9 @@ enum {
#define SCIF_DEFAULT_ERROR_MASK (SCIF_PER | SCIF_FER | SCIF_ER | SCIF_BRK)
/* SCFCR (FIFO Control Register) */
-#define SCFCR_MCE 0x0008
-#define SCFCR_TFRST 0x0004
-#define SCFCR_RFRST 0x0002
+#define SCFCR_MCE 0x0008 /* Modem Control Enable */
+#define SCFCR_TFRST 0x0004 /* Transmit FIFO Data Register Reset */
+#define SCFCR_RFRST 0x0002 /* Receive FIFO Data Register Reset */
#define SCFCR_LOOP (1 << 0) /* Loopback Test */
/* SCSPTR (Serial Port Register), optional */