summaryrefslogtreecommitdiffstats
path: root/sys/dev/si
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-12-10 20:54:38 +0000
committerbde <bde@FreeBSD.org>1995-12-10 20:54:38 +0000
commit644a38f2a8c2703b7a30bacebb79ea959c94a469 (patch)
tree0b1c13e82f2d0d84ce052d6a65ba759f485e08ff /sys/dev/si
parent1fa32892379e9878a6ad76beb240e1dc8ddcbe50 (diff)
downloadFreeBSD-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/dev/si')
-rw-r--r--sys/dev/si/si.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c
index 53ca99d..979352c 100644
--- a/sys/dev/si/si.c
+++ b/sys/dev/si/si.c
@@ -30,7 +30,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHORS BE LIABLE.
*
- * $Id: si.c,v 1.26 1995/12/10 15:54:47 bde Exp $
+ * $Id: si.c,v 1.27 1995/12/10 20:34:30 bde Exp $
*/
#ifndef lint
@@ -124,7 +124,7 @@ static d_devtotty_t sidevtotty;
#define CDEV_MAJOR 68
static struct cdevsw si_cdevsw =
{ siopen, siclose, siread, siwrite, /*68*/
- siioctl, sistop, nxreset, sidevtotty,/* si */
+ siioctl, sistop, noreset, sidevtotty,/* si */
ttselect, nommap, NULL, "si", NULL, -1 };
OpenPOWER on IntegriCloud