diff options
author | jhb <jhb@FreeBSD.org> | 2006-09-11 19:42:27 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-09-11 19:42:27 +0000 |
commit | 1a5dc2dc26d3d22cc4a02898075832ecb5ea9eaa (patch) | |
tree | d284b4cc306f871bed8b811aa216e214d40de3a7 /sys | |
parent | 7be67f8a9364ca4407a48ee5c7af19164cc6a058 (diff) | |
download | FreeBSD-src-1a5dc2dc26d3d22cc4a02898075832ecb5ea9eaa.zip FreeBSD-src-1a5dc2dc26d3d22cc4a02898075832ecb5ea9eaa.tar.gz |
Add prototype for bus_generic_add_child() missed in previous commit.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/bus.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/bus.h b/sys/sys/bus.h index 17cbda0..fef1df9 100644 --- a/sys/sys/bus.h +++ b/sys/sys/bus.h @@ -242,6 +242,9 @@ void root_bus_configure(void); int bus_generic_activate_resource(device_t dev, device_t child, int type, int rid, struct resource *r); +device_t + bus_generic_add_child(device_t dev, int order, const char *name, + int unit); struct resource * bus_generic_alloc_resource(device_t bus, device_t child, int type, int *rid, u_long start, u_long end, |