diff options
author | phk <phk@FreeBSD.org> | 2004-06-24 10:20:53 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-06-24 10:20:53 +0000 |
commit | 6e08e954e293fdd04662107b205060b66e0db6ac (patch) | |
tree | 8e723bc47de0d36bfa7dc1f64eea6d0e83c6aeb0 /sys/sys/ttycom.h | |
parent | 04ac763124910d040ce8d310fd0bb54b588875e0 (diff) | |
download | FreeBSD-src-6e08e954e293fdd04662107b205060b66e0db6ac.zip FreeBSD-src-6e08e954e293fdd04662107b205060b66e0db6ac.tar.gz |
Use the correct names for modem control signals as the primary and make
the aliases aliases.
Diffstat (limited to 'sys/sys/ttycom.h')
-rw-r--r-- | sys/sys/ttycom.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/sys/ttycom.h b/sys/sys/ttycom.h index a2a7607..244fd1d 100644 --- a/sys/sys/ttycom.h +++ b/sys/sys/ttycom.h @@ -106,11 +106,12 @@ struct winsize { #define TIOCM_ST 0010 /* secondary transmit */ #define TIOCM_SR 0020 /* secondary receive */ #define TIOCM_CTS 0040 /* clear to send */ -#define TIOCM_CAR 0100 /* carrier detect */ -#define TIOCM_CD TIOCM_CAR -#define TIOCM_RNG 0200 /* ring */ -#define TIOCM_RI TIOCM_RNG +#define TIOCM_DCD 0100 /* data carrier detect */ +#define TIOCM_RI 0200 /* ring indicate */ #define TIOCM_DSR 0400 /* data set ready */ +#define TIOCM_CD TIOCM_DCD +#define TIOCM_CAR TIOCM_DCD +#define TIOCM_RNG TIOCM_RI #define TIOCREMOTE _IOW('t', 105, int) /* remote input editing */ #define TIOCGWINSZ _IOR('t', 104, struct winsize) /* get window size */ #define TIOCSWINSZ _IOW('t', 103, struct winsize) /* set window size */ |