Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man9 Fix typos that made errors in my first driver.
details: https://anonhg.NetBSD.org/src/rev/0b7bf3828fab
branches: trunk
changeset: 536383:0b7bf3828fab
user: jonb <jonb%NetBSD.org@localhost>
date: Sat Sep 14 14:19:38 2002 +0000
description:
Fix typos that made errors in my first driver.
"All the other drivers did it this way..."
diffstat:
share/man/man9/driver.9 | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 3561b6095e76 -r 0b7bf3828fab share/man/man9/driver.9
--- a/share/man/man9/driver.9 Sat Sep 14 12:58:37 2002 +0000
+++ b/share/man/man9/driver.9 Sat Sep 14 14:19:38 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: driver.9,v 1.7 2002/09/06 15:45:28 wiz Exp $
+.\" $NetBSD: driver.9,v 1.8 2002/09/14 14:19:38 jonb Exp $
.\"
.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -43,7 +43,7 @@
.Sh SYNOPSIS
.Fd #include \*[Lt]sys/param.h\*[Gt]
.Fd #include \*[Lt]sys/device.h\*[Gt]
-.Fd #include \*[Lt]sys/error.h\*[Gt]
+.Fd #include \*[Lt]sys/errno.h\*[Gt]
.Ft static int
.Fn foo_match "struct device *parent" "struct cfdata *match" "void *aux"
.Ft static void
@@ -297,7 +297,7 @@
deactivate the device
.Pc .
If the action is not supported the activate function should return
-EOPNOSUPP.
+EOPNOTSUPP.
The activate function is called in interrupt context.
.Pp
Most drivers will want to make use of interrupt facilities. Interrupt
Home |
Main Index |
Thread Index |
Old Index