diff options
author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2003-02-07 10:16:35 +0000 |
---|---|---|
committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2003-02-07 10:16:35 +0000 |
commit | 5035ea340d1814eac0d4b2d01fc650791d6d6168 (patch) | |
tree | d3aa61abbce71a63327777c2abd06d98290ffdaf /sys/pc98 | |
parent | c38d6f3b46a6aa68a1f035d2226149803292124c (diff) | |
download | src-5035ea340d1814eac0d4b2d01fc650791d6d6168.tar.gz src-5035ea340d1814eac0d4b2d01fc650791d6d6168.zip |
Merged from sys/dev/sio/sio.c revision 1.383.
Notes
Notes:
svn path=/head/; revision=110492
Diffstat (limited to 'sys/pc98')
-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 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); |