Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Add config_mountroot(9) in autoconf(9) man page and LINKS fo...



details:   https://anonhg.NetBSD.org/src/rev/544682510e7b
branches:  trunk
changeset: 755856:544682510e7b
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Jun 25 15:16:13 2010 +0000

description:
Add config_mountroot(9) in autoconf(9) man page and LINKS for it.

diffstat:

 distrib/sets/lists/comp/mi |   5 ++++-
 share/man/man9/Makefile    |   3 ++-
 share/man/man9/autoconf.9  |  16 ++++++++++++++--
 3 files changed, 20 insertions(+), 4 deletions(-)

diffs (101 lines):

diff -r 3456448b1390 -r 544682510e7b distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi        Fri Jun 25 15:10:42 2010 +0000
+++ b/distrib/sets/lists/comp/mi        Fri Jun 25 15:16:13 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: mi,v 1.1472 2010/06/21 21:46:58 pooka Exp $
+#      $NetBSD: mi,v 1.1473 2010/06/25 15:16:13 tsutsui Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -8902,6 +8902,7 @@
 ./usr/share/man/cat9/config_found_sm_loc.0     comp-sys-catman         .cat
 ./usr/share/man/cat9/config_interrupts.0       comp-sys-catman         .cat
 ./usr/share/man/cat9/config_match.0            comp-sys-catman         .cat
+./usr/share/man/cat9/config_mountroot.0                comp-sys-catman         .cat
 ./usr/share/man/cat9/config_pending_decr.0     comp-sys-catman         .cat
 ./usr/share/man/cat9/config_pending_incr.0     comp-sys-catman         .cat
 ./usr/share/man/cat9/config_search.0           comp-obsolete           obsolete
@@ -14671,6 +14672,7 @@
 ./usr/share/man/html9/config_found_sm_loc.html comp-sys-htmlman        html
 ./usr/share/man/html9/config_interrupts.html   comp-sys-htmlman        html
 ./usr/share/man/html9/config_match.html                comp-sys-htmlman        html
+./usr/share/man/html9/config_mountroot.html    comp-sys-htmlman        html
 ./usr/share/man/html9/config_pending_decr.html comp-sys-htmlman        html
 ./usr/share/man/html9/config_pending_incr.html comp-sys-htmlman        html
 ./usr/share/man/html9/config_search_ia.html    comp-sys-htmlman        html
@@ -20559,6 +20561,7 @@
 ./usr/share/man/man9/config_found_sm_loc.9     comp-sys-man            .man
 ./usr/share/man/man9/config_interrupts.9       comp-sys-man            .man
 ./usr/share/man/man9/config_match.9            comp-sys-man            .man
+./usr/share/man/man9/config_mountroot.9                comp-sys-man            .man
 ./usr/share/man/man9/config_pending_decr.9     comp-sys-man            .man
 ./usr/share/man/man9/config_pending_incr.9     comp-sys-man            .man
 ./usr/share/man/man9/config_search.9           comp-obsolete           obsolete
diff -r 3456448b1390 -r 544682510e7b share/man/man9/Makefile
--- a/share/man/man9/Makefile   Fri Jun 25 15:10:42 2010 +0000
+++ b/share/man/man9/Makefile   Fri Jun 25 15:16:13 2010 +0000
@@ -1,4 +1,4 @@
-#       $NetBSD: Makefile,v 1.333 2010/06/18 16:29:01 hannken Exp $
+#       $NetBSD: Makefile,v 1.334 2010/06/25 15:16:14 tsutsui Exp $
 
 #      Makefile for section 9 (kernel function and variable) manual pages.
 
@@ -101,6 +101,7 @@
        autoconf.9 config_deactivate.9 \
        autoconf.9 config_defer.9 \
        autoconf.9 config_interrupts.9 \
+       autoconf.9 config_mountroot.9 \
        autoconf.9 config_pending_incr.9 \
        autoconf.9 config_pending_decr.9 \
        autoconf.9 config_finalize_register.9
diff -r 3456448b1390 -r 544682510e7b share/man/man9/autoconf.9
--- a/share/man/man9/autoconf.9 Fri Jun 25 15:10:42 2010 +0000
+++ b/share/man/man9/autoconf.9 Fri Jun 25 15:16:13 2010 +0000
@@ -1,4 +1,4 @@
-.\"     $NetBSD: autoconf.9,v 1.26 2009/12/07 23:50:39 dyoung Exp $
+.\"     $NetBSD: autoconf.9,v 1.27 2010/06/25 15:16:14 tsutsui Exp $
 .\"
 .\" Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd December 7, 2009
+.Dd June 26, 2010
 .Dt AUTOCONF 9
 .Os
 .Sh NAME
@@ -45,6 +45,7 @@
 .Nm config_deactivate ,
 .Nm config_defer ,
 .Nm config_interrupts ,
+.Nm config_mountroot ,
 .Nm config_pending_incr ,
 .Nm config_pending_decr ,
 .Nm config_finalize_register
@@ -86,6 +87,8 @@
 .Ft void
 .Fn config_interrupts "device_t dev" "void (*func)(device_t)"
 .Ft void
+.Fn config_mountroot "device_t dev" "void (*func)(device_t)"
+.Ft void
 .Fn config_pending_incr
 .Ft void
 .Fn config_pending_decr
@@ -369,6 +372,15 @@
 .Fa func
 is called with the argument
 .Fa dev .
+.It Fn config_mountroot "dev" "func"
+Called by the child to defer the remainder of its configuration until
+the root file system is mounted.
+At this point, the function
+.Fa func
+is called with the argument
+.Fa dev .
+This is used for devices that need to load firmware image from
+a mounted file system.
 .It Fn config_pending_incr
 Increment the
 .Va config_pending



Home | Main Index | Thread Index | Old Index