diff options
author | bde <bde@FreeBSD.org> | 1995-12-10 20:54:38 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-12-10 20:54:38 +0000 |
commit | 644a38f2a8c2703b7a30bacebb79ea959c94a469 (patch) | |
tree | 0b1c13e82f2d0d84ce052d6a65ba759f485e08ff /sys/gnu/i386 | |
parent | 1fa32892379e9878a6ad76beb240e1dc8ddcbe50 (diff) | |
download | FreeBSD-src-644a38f2a8c2703b7a30bacebb79ea959c94a469.zip FreeBSD-src-644a38f2a8c2703b7a30bacebb79ea959c94a469.tar.gz |
Replaced nxreset by noreset (if the reset function gets called, then the
device must be configured. It's hard to tell whether a reset function
should be noreset or nullreset since reset functions are never called.
Most drivers use nullreset but noreset has the advantage of complaining
if somehow gets called).
Diffstat (limited to 'sys/gnu/i386')
-rw-r--r-- | sys/gnu/i386/isa/dgb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/gnu/i386/isa/dgb.c b/sys/gnu/i386/isa/dgb.c index 69bf30c..6dd2a25 100644 --- a/sys/gnu/i386/isa/dgb.c +++ b/sys/gnu/i386/isa/dgb.c @@ -1,5 +1,5 @@ /*- - * dgb.c $Id: dgb.c,v 1.11 1995/12/08 23:19:28 phk Exp $ + * dgb.c $Id: dgb.c,v 1.12 1995/12/10 15:54:01 bde Exp $ * * Digiboard driver. * @@ -206,7 +206,7 @@ static d_devtotty_t dgbdevtotty; #define CDEV_MAJOR 58 static struct cdevsw dgb_cdevsw = { dgbopen, dgbclose, dgbread, dgbwrite, /*58*/ - dgbioctl, dgbstop, nxreset, dgbdevtotty, /* dgb */ + dgbioctl, dgbstop, noreset, dgbdevtotty, /* dgb */ ttselect, nommap, NULL, "dgb", NULL, -1 }; static speed_t dgbdefaultrate = TTYDEF_SPEED; |