aboutsummaryrefslogtreecommitdiff
path: root/sys/pc98
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/cbus/sio.c2
-rw-r--r--sys/pc98/pc98/sio.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c
index d866963df5e8..ab67e23b7c34 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 d866963df5e8..ab67e23b7c34 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);