summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb2/controller/usb2_bus.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-02-22 01:02:25 +0000
committerthompsa <thompsa@FreeBSD.org>2009-02-22 01:02:25 +0000
commit8f77bce477bb00fbe439b45c6729218e94d0d448 (patch)
tree43c991eb00f764be545d53010db5d1665d1e99ff /sys/dev/usb2/controller/usb2_bus.h
parent3bc203445d13de73865f2a266cf25b88c21359d1 (diff)
downloadFreeBSD-src-8f77bce477bb00fbe439b45c6729218e94d0d448.zip
FreeBSD-src-8f77bce477bb00fbe439b45c6729218e94d0d448.tar.gz
Use root_mount_hold and root_mount_rel to allow the USB bus to be explored
before trying to mount root. Unlike USB1 the busses are not explored at attach but rather after threads are running.
Diffstat (limited to 'sys/dev/usb2/controller/usb2_bus.h')
-rw-r--r--sys/dev/usb2/controller/usb2_bus.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb2/controller/usb2_bus.h b/sys/dev/usb2/controller/usb2_bus.h
index c81a7a5..59287c4 100644
--- a/sys/dev/usb2/controller/usb2_bus.h
+++ b/sys/dev/usb2/controller/usb2_bus.h
@@ -53,6 +53,7 @@ struct usb2_bus {
struct usb2_bus_stat stats_ok;
struct usb2_process explore_proc;
struct usb2_process roothub_proc;
+ struct root_hold_token *bus_roothold;
/*
* There are two callback processes. One for Giant locked
* callbacks. One for non-Giant locked callbacks. This should
OpenPOWER on IntegriCloud