Merged from sys/dev/sio/sio.c revision 1.383.

This commit is contained in:
Yoshihiro Takahashi 2003-02-07 10:16:35 +00:00
parent c38d6f3b46
commit 5035ea340d
2 changed files with 4 additions and 0 deletions

View File

@ -1801,6 +1801,8 @@ determined_type: ;
com->devs[5] = make_dev(&sio_cdevsw,
minorbase | CALLOUT_MASK | CONTROL_LOCK_STATE,
UID_UUCP, GID_DIALER, 0660, "cuala%r", unit);
for (rid = 0; rid < 6; rid++)
com->devs[rid]->si_drv1 = com;
com->flags = flags;
com->pps.ppscap = PPS_CAPTUREASSERT | PPS_CAPTURECLEAR;
pps_init(&com->pps);

View File

@ -1801,6 +1801,8 @@ determined_type: ;
com->devs[5] = make_dev(&sio_cdevsw,
minorbase | CALLOUT_MASK | CONTROL_LOCK_STATE,
UID_UUCP, GID_DIALER, 0660, "cuala%r", unit);
for (rid = 0; rid < 6; rid++)
com->devs[rid]->si_drv1 = com;
com->flags = flags;
com->pps.ppscap = PPS_CAPTUREASSERT | PPS_CAPTURECLEAR;
pps_init(&com->pps);