Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man9 remove disk_init which we don't have anymore.
details: https://anonhg.NetBSD.org/src/rev/fed5511c0a07
branches: trunk
changeset: 583608:fed5511c0a07
user: yamt <yamt%NetBSD.org@localhost>
date: Sun Aug 14 12:01:26 2005 +0000
description:
remove disk_init which we don't have anymore.
diffstat:
share/man/man9/disk.9 | 20 ++------------------
1 files changed, 2 insertions(+), 18 deletions(-)
diffs (59 lines):
diff -r 9ccc10f42848 -r fed5511c0a07 share/man/man9/disk.9
--- a/share/man/man9/disk.9 Sun Aug 14 09:25:08 2005 +0000
+++ b/share/man/man9/disk.9 Sun Aug 14 12:01:26 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: disk.9,v 1.22 2003/04/16 13:35:27 wiz Exp $
+.\" $NetBSD: disk.9,v 1.23 2005/08/14 12:01:26 yamt Exp $
.\"
.\" Copyright (c) 1995, 1996 Jason R. Thorpe.
.\" All rights reserved.
@@ -30,12 +30,11 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd January 7, 1996
+.Dd August 14, 2005
.Dt DISK 9
.Os
.Sh NAME
.Nm disk ,
-.Nm disk_init ,
.Nm disk_attach ,
.Nm disk_detach ,
.Nm disk_busy ,
@@ -48,8 +47,6 @@
.In sys/disklabel.h
.In sys/disk.h
.Ft void
-.Fn disk_init "void"
-.Ft void
.Fn disk_attach "struct disk *"
.Ft void
.Fn disk_detach "struct disk *"
@@ -122,11 +119,6 @@
.Pp
The following is a brief description of each function in the framework:
.Bl -tag -width "disk_resetstat()"
-.It Fn disk_init
-Initialize the disklist and other data structures used by the framework.
-Called by
-.Fn main
-before autoconfiguration.
.It Fn disk_attach
Attach a disk; allocate storage for the disklabel, set the
.Dq attached time
@@ -177,14 +169,6 @@
Actual implementation of a device driver which uses the framework
may vary.
.Pp
-A special routine,
-.Fn disk_init ,
-is provided to perform basic initialization of data structures used by
-the framework.
-It is called exactly once by the system, in
-.Fn main ,
-before device autoconfiguration.
-.Pp
Each device in the system uses a
.Dq softc
structure which contains autoconfiguration and state information for that
Home |
Main Index |
Thread Index |
Old Index