aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/bus.h
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2006-07-08 17:06:15 +0000
committerWarner Losh <imp@FreeBSD.org>2006-07-08 17:06:15 +0000
commitdb2bc1bb82d9b1fdd029ea87cda71d1b2bf388fb (patch)
tree6dacdab168aa26da6a9fdc1e7c9243c8f60795ad /sys/sys/bus.h
parent360de69338fc73432a7f88a3f8e074595aa748d9 (diff)
downloadsrc-db2bc1bb82d9b1fdd029ea87cda71d1b2bf388fb.tar.gz
src-db2bc1bb82d9b1fdd029ea87cda71d1b2bf388fb.zip
Create bus_enumerate_hinted_children. This routine will allow drivers
to use the hinted child system. Bus drivers that use this need to implmenet the bus_hinted_child method, where they actually add the child to their bus, as they see fit. The bus is repsonsible for getting the attribtues for the child, adding it in the right order, etc. ISA hinting will be updated to use this method. MFC After: 3 days
Notes
Notes: svn path=/head/; revision=160186
Diffstat (limited to 'sys/sys/bus.h')
-rw-r--r--sys/sys/bus.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/bus.h b/sys/sys/bus.h
index b97a8d89d1f0..eccf10c03494 100644
--- a/sys/sys/bus.h
+++ b/sys/sys/bus.h
@@ -322,6 +322,7 @@ void bus_delete_resource(device_t dev, int type, int rid);
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);
+void bus_enumerate_hinted_children(device_t bus);
static __inline struct resource *
bus_alloc_resource_any(device_t dev, int type, int *rid, u_int flags)