summaryrefslogtreecommitdiff
path: root/sys/dev/rp
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-08-23 08:26:42 +0000
committerBruce Evans <bde@FreeBSD.org>1998-08-23 08:26:42 +0000
commitcf8c7b09630c27796b1970818e7b3ba431be55aa (patch)
tree15c99bee0ff7d2b99753c675b319fc30f4de5452 /sys/dev/rp
parent87c95fa5dc145c2f393c8baf6ec1ec82ab5cbaa6 (diff)
Notes
Diffstat (limited to 'sys/dev/rp')
-rw-r--r--sys/dev/rp/rp.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/sys/dev/rp/rp.c b/sys/dev/rp/rp.c
index e26c46c9482e..847660e70c92 100644
--- a/sys/dev/rp/rp.c
+++ b/sys/dev/rp/rp.c
@@ -788,8 +788,6 @@ struct isa_driver rpdriver = {
rpprobe, rpattach, "rp"
};
-#define CDEV_MAJOR 81
-
static char driver_name[] = "rp";
static d_open_t rpopen;
@@ -800,11 +798,14 @@ static d_ioctl_t rpioctl;
static d_stop_t rpstop;
static d_devtotty_t rpdevtotty;
-static struct cdevsw rp_cdevsw =
- { rpopen, rpclose, rpread, rpwrite,
- rpioctl, rpstop, noreset, rpdevtotty,
- ttpoll, nommap, NULL, driver_name,
- NULL, -1};
+#define CDEV_MAJOR 81
+static struct cdevsw rp_cdevsw = {
+ rpopen, rpclose, rpread, rpwrite,
+ rpioctl, rpstop, noreset, rpdevtotty,
+ ttpoll, nommap, NULL, driver_name,
+ NULL, -1, nodump, nopsize,
+ D_TTY,
+};
static int rp_controller_port = 0;
static int rp_num_ports_open = 0;
@@ -1400,8 +1401,6 @@ open_top:
return(error);
}
- ttsetwater(tp);
-
rp_num_ports_open++;
IntMask = sGetChanIntID(&rp->rp_channel);