diff options
author | imp <imp@FreeBSD.org> | 2005-09-18 01:32:09 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-09-18 01:32:09 +0000 |
commit | 55babf09d20f3890eef0dc5ef0e9a0b00a7f0cc7 (patch) | |
tree | 4415e4acadc81434cb19a15d4c7d8fc18dba1d58 | |
parent | d01ccbd79e832c78b4229e46202ca7173c55319c (diff) | |
download | FreeBSD-src-55babf09d20f3890eef0dc5ef0e9a0b00a7f0cc7.zip FreeBSD-src-55babf09d20f3890eef0dc5ef0e9a0b00a7f0cc7.tar.gz |
MFp4: Expose device_probe_child()
-rw-r--r-- | sys/kern/subr_bus.c | 2 | ||||
-rw-r--r-- | sys/sys/bus.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c index 265204c..2bfa275 100644 --- a/sys/kern/subr_bus.c +++ b/sys/kern/subr_bus.c @@ -1673,7 +1673,7 @@ next_matching_driver(devclass_t dc, device_t dev, driverlink_t last) /** * @internal */ -static int +int device_probe_child(device_t dev, device_t child) { devclass_t dc; diff --git a/sys/sys/bus.h b/sys/sys/bus.h index b811b14..6fc77b4 100644 --- a/sys/sys/bus.h +++ b/sys/sys/bus.h @@ -360,6 +360,7 @@ int device_is_quiet(device_t dev); int device_print_prettyname(device_t dev); int device_printf(device_t dev, const char *, ...) __printflike(2, 3); int device_probe_and_attach(device_t dev); +int device_probe_child(device_t bus, device_t dev); int device_quiesce(device_t dev); void device_quiet(device_t dev); void device_set_desc(device_t dev, const char* desc); |