Searched refs:dtrwait (Results 1 - 2 of 2) sorted by relevance

/freebsd-13-stable/sbin/comcontrol/
H A Dcomcontrol.c51 "usage: comcontrol <filename> [dtrwait <n>] [drainwait <n>]\n");
61 int dtrwait = -1, drainwait = -1; local
76 if (ioctl(fd, TIOCMGDTRWAIT, &dtrwait) < 0) {
91 printf("dtrwait %d ", dtrwait);
97 if (!strcmp(argv[2],"dtrwait")) {
98 if (dtrwait >= 0)
102 dtrwait = atoi(argv[3]);
114 if (dtrwait >= 0) {
115 if (ioctl(fd, TIOCMSDTRWAIT, &dtrwait) <
[all...]
/freebsd-13-stable/libexec/rc/rc.d/
H A Dserial36 # dtrwait 300 drainwait `sysctl -n kern.drainwait`
53 comcontrol /dev/tty${dc}${i} dtrwait 300 drainwait $drainwait
88 comcontrol /dev/tty${dc}${i} dtrwait 100 drainwait 180
120 # Same as modem() except we want a faster speed and no dtrwait.
127 comcontrol /dev/tty${dc}${i} dtrwait 0

Completed in 106 milliseconds