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/rc/rc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/rc/rc.c') diff --git a/sys/dev/rc/rc.c b/sys/dev/rc/rc.c index 2c26c31..7b99bd7 100644 --- a/sys/dev/rc/rc.c +++ b/sys/dev/rc/rc.c @@ -111,7 +111,7 @@ static d_devtotty_t rcdevtotty; #define CDEV_MAJOR 63 static struct cdevsw rc_cdevsw = { rcopen, rcclose, rcread, rcwrite, /*63*/ - rcioctl, rcstop, nxreset, rcdevtotty,/* rc */ + rcioctl, rcstop, noreset, rcdevtotty,/* rc */ ttselect, nommap, NULL, "rc", NULL, -1 }; /* Per-board structure */ -- cgit v1.1