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/rp | |
| parent | 87c95fa5dc145c2f393c8baf6ec1ec82ab5cbaa6 (diff) | |
Notes
Diffstat (limited to 'sys/dev/rp')
| -rw-r--r-- | sys/dev/rp/rp.c | 17 |
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); |
