summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorriastradh <riastradh@NetBSD.org>2022-03-03 06:09:20 +0000
committerriastradh <riastradh@NetBSD.org>2022-03-03 06:09:20 +0000
commitfc6d92666027250de7e9307b293bc9cdefd287b3 (patch)
tree117941d6b130a87020846d18dd5a6e402ce155e2 /sys/dev
parente7f884867513313f3752b13938aaf7e156710880 (diff)
usb: Update tables of bus/pipe method locking rules.
No functional change.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/usbdivar.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/dev/usb/usbdivar.h b/sys/dev/usb/usbdivar.h
index 25b3094403b..e664c73c7ff 100644
--- a/sys/dev/usb/usbdivar.h
+++ b/sys/dev/usb/usbdivar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: usbdivar.h,v 1.132 2022/03/03 06:04:31 riastradh Exp $ */
+/* $NetBSD: usbdivar.h,v 1.133 2022/03/03 06:09:20 riastradh Exp $ */
/*
* Copyright (c) 1998, 2012 The NetBSD Foundation, Inc.
@@ -44,16 +44,19 @@
* BUS METHOD LOCK NOTES
* ----------------------- ------- -------------------------
* ubm_open - might want to take lock?
- * ubm_softint x
+ * ubm_softint x may release/reacquire lock
* ubm_dopoll - might want to take lock?
* ubm_allocx -
* ubm_freex -
+ * ubm_abortx x must not release/reacquire lock
* ubm_getlock - Called at attach time
* ubm_newdev - Will take lock
- ubm_rhctrl
+ * ubm_rhctrl
*
* PIPE METHOD LOCK NOTES
* ----------------------- ------- -------------------------
+ * upm_init -
+ * upm_fini -
* upm_transfer -
* upm_start - might want to take lock?
* upm_abort x