Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/sys/dev/usb Pullup rev 1.51 (requested by toshii in tic...
details: https://anonhg.NetBSD.org/src/rev/24785067be5d
branches: netbsd-1-6
changeset: 531122:24785067be5d
user: jmc <jmc%NetBSD.org@localhost>
date: Mon Mar 15 04:37:08 2004 +0000
description:
Pullup rev 1.51 (requested by toshii in ticket #1599)
Use the correct wValue to get hub desriptors.
Also, make wValue checks of root hub codes less strict.
diffstat:
sys/dev/usb/ehci.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b1ade6ff18aa -r 24785067be5d sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c Mon Mar 15 04:28:53 2004 +0000
+++ b/sys/dev/usb/ehci.c Mon Mar 15 04:37:08 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ehci.c,v 1.30 2002/05/19 06:24:30 augustss Exp $ */
+/* $NetBSD: ehci.c,v 1.30.2.1 2004/03/15 04:37:08 jmc Exp $ */
/*
* TODO
@@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.30 2002/05/19 06:24:30 augustss Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.30.2.1 2004/03/15 04:37:08 jmc Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1688,7 +1688,7 @@
#endif
break;
case C(UR_GET_DESCRIPTOR, UT_READ_CLASS_DEVICE):
- if (value != 0) {
+ if ((value & 0xff) != 0) {
err = USBD_IOERROR;
goto ret;
}
Home |
Main Index |
Thread Index |
Old Index