Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Update USB_PORT_RESET_RECOVERT to comply with th...
details: https://anonhg.NetBSD.org/src/rev/137e675587df
branches: trunk
changeset: 989057:137e675587df
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Mon Oct 11 00:25:05 2021 +0000
description:
Update USB_PORT_RESET_RECOVERT to comply with the USB 2.0 specification
which says it should be max 10 milliseconds.
>From FreeBSD: https://github.com/freebsd/freebsd-src/commit/70ffaaa69c830d26b59136d0b0447ab2f8683db8
diffstat:
sys/dev/usb/usb.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r a24186824e96 -r 137e675587df sys/dev/usb/usb.h
--- a/sys/dev/usb/usb.h Mon Oct 11 00:16:08 2021 +0000
+++ b/sys/dev/usb/usb.h Mon Oct 11 00:25:05 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: usb.h,v 1.118 2019/08/23 07:17:31 mrg Exp $ */
+/* $NetBSD: usb.h,v 1.119 2021/10/11 00:25:05 jmcneill Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -771,7 +771,7 @@
/* Allow for marginal (i.e. non-conforming) devices. */
#define USB_PORT_RESET_DELAY 50 /* ms */
#define USB_PORT_ROOT_RESET_DELAY 250 /* ms */
-#define USB_PORT_RESET_RECOVERY 250 /* ms */
+#define USB_PORT_RESET_RECOVERY 10 /* ms */
#define USB_PORT_POWERUP_DELAY 300 /* ms */
#define USB_SET_ADDRESS_SETTLE 10 /* ms */
#define USB_RESUME_DELAY (50*5) /* ms */
Home |
Main Index |
Thread Index |
Old Index