diff options
Diffstat (limited to 'sys/dev/dgb/dgb.c')
-rw-r--r-- | sys/dev/dgb/dgb.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/sys/dev/dgb/dgb.c b/sys/dev/dgb/dgb.c index 9537c12..aac2725 100644 --- a/sys/dev/dgb/dgb.c +++ b/sys/dev/dgb/dgb.c @@ -1,5 +1,5 @@ /*- - * dgb.c $Id: dgb.c,v 1.38 1998/08/12 23:44:22 brian Exp $ + * dgb.c $Id: dgb.c,v 1.39 1998/08/16 01:21:49 bde Exp $ * * Digiboard driver. * @@ -222,11 +222,14 @@ static d_ioctl_t dgbioctl; static d_stop_t dgbstop; static d_devtotty_t dgbdevtotty; -#define CDEV_MAJOR 58 -static struct cdevsw dgb_cdevsw = - { dgbopen, dgbclose, dgbread, dgbwrite, /*58*/ - dgbioctl, dgbstop, noreset, dgbdevtotty, /* dgb */ - ttpoll, nommap, NULL, "dgb", NULL, -1 }; +#define CDEV_MAJOR 58 +static struct cdevsw dgb_cdevsw = { + dgbopen, dgbclose, dgbread, dgbwrite, + dgbioctl, dgbstop, noreset, dgbdevtotty, + ttpoll, nommap, NULL, "dgb", + NULL, -1, nodump, nopsize, + D_TTY, +}; static speed_t dgbdefaultrate = TTYDEF_SPEED; @@ -1071,8 +1074,6 @@ open_top: goto out; } - ttsetwater(tp); - /* handle fake DCD for callout devices */ /* and initial DCD */ |