TIOCSSOFTCAR equ 12h ;Set the CLOCAL flag when *argp is nonzero, and clear it otherwise.\r
\r
\r
-; iflag bits (0)\r
+; iflags bits (0)\r
b2m IGNBRK, 0 ;Ignore BREAK condition on input.\r
b2m BRKINT, 1\r
b2m INPCK, 2 ;Enable input parity checking.\r
b2m PARMRK, 4 ;Prefix a character with a parity error or framing error with FFH 00H.\r
b2m ISTRIP, 5 ;Strip off eighth bit.\r
b2m PARODD, 6 ;If set, then parity for input and output is odd.\r
-; fflag bits (1)\r
+; fflags bits (1)\r
b2m IXON, 0 ;Enable XON/XOFF flow control on output.\r
b2m IXANY, 1 ;Typing any character will restart stopped output.\r
b2m IXOFF, 2 ;Enable XON/XOFF flow control on input.\r
b2m CREAD, 6 ;Enable receiver.\r
\r
\r
-; control mode flags (2)\r
+; cflags (2)\r
M_CBAUD equ 01Fh ;Baud speed mask\r
B0 equ 000h ;hang up\r
B50 equ 011h\r
B192000 equ 016h\r
B288000 equ 017h\r
M_CSIZE equ 020h ;Character size mask.\r
- CS7 equ 000h ;\r
- CS8 equ 020h ;\r
+ M_CS7 equ 000h ;\r
+ M_CS8 equ 020h ;\r
+ CS8 equ 5 ;\r
b2m CSTOPB, 6 ;Set two stop bits, rather than one.\r
b2m PARENB, 7 ;Enable parity generation on output and parity checking for input.\r
\r