Main index | Section 9 | 日本語 | Options |
#include <sys/param.h>
#include <sys/bus.h>
#include <machine/bus.h>
#include <sys/rman.h>
#include <machine/resource.h>
This does not ask the question "does this device have children?" which can better be answered by device_get_children(9).
device_t dev; dc_softc *sc;sc = device_get_softc(dev); if (bus_child_present(dev)) dc_stop(sc);
BUS_CHILD_PRESENT (9) | March 27, 2003 |
Main index | Section 9 | 日本語 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | The Unix phenomenon is scary. It doesn't go away. | ” |
— Steve Ballmer |