BUS_CHILD_DETACHED (9)
Leading comments
Copyright (c) 2012 Hudson River Trading LLC
Written by: John H. Baldwin <jhb@FreeBSD.org>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and t...
(The comments found at the beginning of the groff file "man9/BUS_CHILD_DETACHED.9freebsd".)
NAME
BUS_CHILD_DETACHED
- notify a bus device that a child was detached
SYNOPSIS
In sys/param.h
In sys/bus.h
Ft void
Fn BUS_CHILD_DETACHED device_t dev device_t child
DESCRIPTION
The
Fn BUS_CHILD_DETACHED
method is invoked by the new-bus framework after a device is detached.
A bus driver can provide an implementation of this method to
reclaim any resources allocated on behalf of the child or
to cleanup state not properly released by a
DEVICE_DETACH9
method.
SEE ALSO
device(9),
DEVICE_DETACH9