From phantom@scorpion.crimea.ua Tue Aug 17 14:33:26 1999
Return-Path: <phantom@scorpion.crimea.ua>
Received: from sonet.crimea.ua (OTC-sl3-FLY.CRIS.NET [212.110.136.71])
	by hub.freebsd.org (Postfix) with ESMTP id 59D6215820
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 17 Aug 1999 14:32:25 -0700 (PDT)
	(envelope-from phantom@scorpion.crimea.ua)
Received: (from uucp@localhost)
	by sonet.crimea.ua (8.8.8/8.8.8) with UUCP id AAA13135
	for FreeBSD-gnats-submit@freebsd.org; Wed, 18 Aug 1999 00:34:16 +0400 (MSD)
	(envelope-from phantom@scorpion.crimea.ua)
Received: (from phantom@localhost)
	by scorpion.crimea.ua (8.8.8/8.8.5+ssl+keepalive) id WAA05445;
	Tue, 17 Aug 1999 22:26:14 +0400 (MSD)
Message-Id: <199908171826.WAA05445@scorpion.crimea.ua>
Date: Tue, 17 Aug 1999 22:26:14 +0400 (MSD)
From: "Alexey M. Zelkin" <phantom@cris.net>
Sender: phantom@scorpion.crimea.ua
Reply-To: "Alexey M. Zelkin" <phantom@cris.net>
To: FreeBSD-gnats-submit@freebsd.org
Subject: device_add_child_after.9 is obsolete
X-Send-Pr-Version: 3.2

>Number:         13210
>Category:       docs
>Synopsis:       device_add_chils_after.9 is obsolete
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    phantom
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 17 14:40:01 PDT 1999
>Closed-Date:    Sat Sep 4 05:37:38 PDT 1999
>Last-Modified:  Sat Sep  4 05:38:41 PDT 1999
>Originator:     Alexey Zelkin
>Release:        FreeBSD 4.0-CURRENT
>Organization:
Home
>Environment:

-current about two days ago

>Description:

Depending on rev. 1.2 of device_add_child.9 and quick look on kernel sources
replace device_add_child_after with device_add_child_ordered. Seems what
dfr@FreeBSD.org (author of rev.1.2) forgotten to update everything except
SYNOPSIS and DESCRIPTION sections ;)

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /usr/local/CVSROOT/src/share/man/man9/Makefile,v
retrieving revision 1.48
diff -c -r1.48 Makefile
*** Makefile	1999/06/22 18:09:54	1.48
--- Makefile	1999/08/17 17:43:12
***************
*** 79,85 ****
  MLINKS+=vref.9 VREF.9
  MLINKS+=vslock.9 vsunlock.9
  
! MLINKS+=device_add_child.9 device_add_child_after.9
  MLINKS+=device_enable.9 device_disable.9
  MLINKS+=device_enable.9 device_is_enabled.9
  MLINKS+=device_get_state.9 device_busy.9
--- 79,85 ----
  MLINKS+=vref.9 VREF.9
  MLINKS+=vslock.9 vsunlock.9
  
! MLINKS+=device_add_child.9 device_add_child_ordered.9
  MLINKS+=device_enable.9 device_disable.9
  MLINKS+=device_enable.9 device_is_enabled.9
  MLINKS+=device_get_state.9 device_busy.9
Index: device.9
===================================================================
RCS file: /usr/local/CVSROOT/src/share/man/man9/device.9,v
retrieving revision 1.3
diff -c -r1.3 device.9
*** device.9	1999/08/15 10:48:31	1.3
--- device.9	1999/08/17 17:43:46
***************
*** 55,61 ****
  .Xr device_get_parent 9 ).
  In addition, any device can have children attached to it (see
  .Xr device_add_child 9 ,
! .Xr device_add_child_after 9 ,
  .Xr device_find_child 9 ,
  and
  .Xr device_delete_child 9 ).
--- 55,61 ----
  .Xr device_get_parent 9 ).
  In addition, any device can have children attached to it (see
  .Xr device_add_child 9 ,
! .Xr device_add_child_ordered 9 ,
  .Xr device_find_child 9 ,
  and
  .Xr device_delete_child 9 ).
Index: device_add_child.9
===================================================================
RCS file: /usr/local/CVSROOT/src/share/man/man9/device_add_child.9,v
retrieving revision 1.3
diff -c -r1.3 device_add_child.9
*** device_add_child.9	1999/08/15 10:48:31	1.3
--- device_add_child.9	1999/08/17 17:39:55
***************
*** 33,39 ****
  .Os FreeBSD
  .Sh NAME
  .Nm device_add_child ,
! .Nm device_add_child_after
  .Nd add a new device as a child of an existing device
  .Sh SYNOPSIS
  .Fd #include <sys/param.h>
--- 33,39 ----
  .Os FreeBSD
  .Sh NAME
  .Nm device_add_child ,
! .Nm device_add_child_ordered
  .Nd add a new device as a child of an existing device
  .Sh SYNOPSIS
  .Fd #include <sys/param.h>

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->phantom 
Responsible-Changed-By: mpp 
Responsible-Changed-When: Fri Sep 3 02:25:53 PDT 1999 
Responsible-Changed-Why:  
This is Alexey's first assigned PR. 

He submitted it, and I've reviewed his changes (fine), 
so he gets to close his own PR :-). 

Welcome to the committers club, Alexey! 
State-Changed-From-To: open->closed 
State-Changed-By: phantom 
State-Changed-When: Sat Sep 4 05:37:38 PDT 1999 
State-Changed-Why:  
Patch commited. 
>Unformatted:
