diff options
author | nyan <nyan@FreeBSD.org> | 2003-02-07 10:16:35 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2003-02-07 10:16:35 +0000 |
commit | 6307b39fe95ede2eb310de1d5983e8c1e879ee13 (patch) | |
tree | d3aa61abbce71a63327777c2abd06d98290ffdaf | |
parent | 8f078f8b950df1457e179a0fa29b3fa38fcab884 (diff) | |
download | FreeBSD-src-6307b39fe95ede2eb310de1d5983e8c1e879ee13.zip FreeBSD-src-6307b39fe95ede2eb310de1d5983e8c1e879ee13.tar.gz |
Merged from sys/dev/sio/sio.c revision 1.383.
-rw-r--r-- | sys/pc98/cbus/sio.c | 2 | ||||
-rw-r--r-- | sys/pc98/pc98/sio.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c index d866963..ab67e23 100644 --- a/sys/pc98/cbus/sio.c +++ b/sys/pc98/cbus/sio.c @@ -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); diff --git a/sys/pc98/pc98/sio.c b/sys/pc98/pc98/sio.c index d866963..ab67e23 100644 --- a/sys/pc98/pc98/sio.c +++ b/sys/pc98/pc98/sio.c @@ -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); |