mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-01 14:14:56 +00:00
Send a .4 second BREAK rather than a .25 second break so that
we're at least consistent with what tcsendbreak(3) is documented to do. MFC after: 2 weeks Note, the MFC will be to sys/dev/dgb/dgm.c on the RELENG_4 branch
This commit is contained in:
parent
0f34719cf5
commit
9fd4693f8a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83861
|
@ -1308,10 +1308,10 @@ digiioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct thread *td)
|
|||
break;
|
||||
case TIOCSBRK:
|
||||
/*
|
||||
* now it sends 250 millisecond break because I don't know
|
||||
* now it sends 400 millisecond break because I don't know
|
||||
* how to send an infinite break
|
||||
*/
|
||||
fepcmd_w(port, SENDBREAK, 250, 10);
|
||||
fepcmd_w(port, SENDBREAK, 400, 10);
|
||||
break;
|
||||
case TIOCCBRK:
|
||||
/* now it's empty */
|
||||
|
|
Loading…
Reference in a new issue