summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/rc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/rc.c')
-rw-r--r--sys/i386/isa/rc.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/sys/i386/isa/rc.c b/sys/i386/isa/rc.c
index 021f089..5f845c6 100644
--- a/sys/i386/isa/rc.c
+++ b/sys/i386/isa/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);
}
OpenPOWER on IntegriCloud