summaryrefslogtreecommitdiffstats
path: root/sys/sys/bus.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-10-07 07:08:00 +0000
committerimp <imp@FreeBSD.org>2002-10-07 07:08:00 +0000
commitf6845196683cdfa0fe2a39c32bd9360840cb21a4 (patch)
tree61141cd92df9628920fd948384f0ea9e798aff2a /sys/sys/bus.h
parentcead6168fbe677fe2c460efbae7c7977cae08e49 (diff)
downloadFreeBSD-src-f6845196683cdfa0fe2a39c32bd9360840cb21a4.zip
FreeBSD-src-f6845196683cdfa0fe2a39c32bd9360840cb21a4.tar.gz
Add wrappers around the newly created bus_child_pnpinfo_str and
bus_child_location_str.
Diffstat (limited to 'sys/sys/bus.h')
-rw-r--r--sys/sys/bus.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/bus.h b/sys/sys/bus.h
index 8c6b1bd..da2ca4d 100644
--- a/sys/sys/bus.h
+++ b/sys/sys/bus.h
@@ -279,7 +279,9 @@ int bus_get_resource(device_t dev, int type, int rid,
u_long bus_get_resource_start(device_t dev, int type, int rid);
u_long bus_get_resource_count(device_t dev, int type, int rid);
void bus_delete_resource(device_t dev, int type, int rid);
-int bus_child_present(device_t dev);
+int bus_child_present(device_t child);
+int bus_child_pnpinfo_str(device_t child, char *buf, size_t buflen);
+int bus_child_location_str(device_t child, char *buf, size_t buflen);
/*
* Access functions for device.
OpenPOWER on IntegriCloud