Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb usb: Update tables of bus/pipe method locking ru...
details: https://anonhg.NetBSD.org/src/rev/3522689f54ef
branches: trunk
changeset: 362566:3522689f54ef
user: riastradh <riastradh%NetBSD.org@localhost>
date: Thu Mar 03 06:09:20 2022 +0000
description:
usb: Update tables of bus/pipe method locking rules.
No functional change.
diffstat:
sys/dev/usb/usbdivar.h | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (31 lines):
diff -r f948b08ab89e -r 3522689f54ef sys/dev/usb/usbdivar.h
--- a/sys/dev/usb/usbdivar.h Thu Mar 03 06:09:11 2022 +0000
+++ b/sys/dev/usb/usbdivar.h Thu Mar 03 06:09:20 2022 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index