diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1998-08-23 08:26:42 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1998-08-23 08:26:42 +0000 |
| commit | cf8c7b09630c27796b1970818e7b3ba431be55aa (patch) | |
| tree | 15c99bee0ff7d2b99753c675b319fc30f4de5452 /sys/dev/rc | |
| parent | 87c95fa5dc145c2f393c8baf6ec1ec82ab5cbaa6 (diff) | |
Notes
Diffstat (limited to 'sys/dev/rc')
| -rw-r--r-- | sys/dev/rc/rc.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/sys/dev/rc/rc.c b/sys/dev/rc/rc.c index 021f089cea73..5f845c6fbc02 100644 --- a/sys/dev/rc/rc.c +++ b/sys/dev/rc/rc.c @@ -98,11 +98,14 @@ static d_ioctl_t rcioctl; static d_stop_t rcstop; static d_devtotty_t rcdevtotty; -#define CDEV_MAJOR 63 -static struct cdevsw rc_cdevsw = - { rcopen, rcclose, rcread, rcwrite, /*63*/ - rcioctl, rcstop, noreset, rcdevtotty,/* rc */ - ttpoll, nommap, NULL, "rc", NULL, -1 }; +#define CDEV_MAJOR 63 +static struct cdevsw rc_cdevsw = { + rcopen, rcclose, rcread, rcwrite, + rcioctl, rcstop, noreset, rcdevtotty, + ttpoll, nommap, NULL, "rc", + NULL, -1, nodump, nopsize, + D_TTY, +}; /* Per-board structure */ static struct rc_softc { @@ -777,8 +780,6 @@ again: goto out; (void) rc_modctl(rc, TIOCM_RTS|TIOCM_DTR, DMSET); - ttsetwater(tp); - if ((rc->rc_msvr & MSVR_CD) || CALLOUT(dev)) (*linesw[tp->t_line].l_modem)(tp, 1); } |
