diff options
Diffstat (limited to 'sys/kern/bus_if.m')
-rw-r--r-- | sys/kern/bus_if.m | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/kern/bus_if.m b/sys/kern/bus_if.m index fd4f648e002c..8c4808222ddd 100644 --- a/sys/kern/bus_if.m +++ b/sys/kern/bus_if.m @@ -23,7 +23,7 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # -# $Id: bus_if.m,v 1.4 1998/11/08 18:51:38 nsouch Exp $ +# $Id: bus_if.m,v 1.5 1998/11/14 21:58:51 wollman Exp $ # INTERFACE bus; @@ -71,6 +71,15 @@ METHOD int write_ivar { }; # +# Called after the child's DEVICE_DETACH method to allow the parent +# to reclaim any resources allocated on behalf of the child. +# +METHOD void child_detached { + device_t dev; + device_t child; +}; + +# # Allocate a system resource attached to `dev' on behalf of `child'. # The types are defined in <machine/resource.h>; the meaning of the # resource-ID field varies from bus to bus (but *rid == 0 is always |