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:
Brian Somers 2001-09-23 20:03:40 +00:00
parent 0f34719cf5
commit 9fd4693f8a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83861

View file

@ -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 */