From 644a38f2a8c2703b7a30bacebb79ea959c94a469 Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 10 Dec 1995 20:54:38 +0000 Subject: 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). --- sys/dev/sio/sio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/sio/sio.c') diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index fa5941c..375521a 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.127 1995/12/10 13:39:13 phk Exp $ + * $Id: sio.c,v 1.128 1995/12/10 15:54:50 bde Exp $ */ #include "sio.h" @@ -310,7 +310,7 @@ static d_devtotty_t siodevtotty; #define CDEV_MAJOR 28 static struct cdevsw sio_cdevsw = { sioopen, sioclose, sioread, siowrite, /*28*/ - sioioctl, siostop, nxreset, siodevtotty,/* sio */ + sioioctl, siostop, noreset, siodevtotty,/* sio */ ttselect, nommap, NULL, driver_name, NULL, -1 }; -- cgit v1.1