Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/sys/dev/usb Pullup rev 1.67 (requested by petrov in tic...
details: https://anonhg.NetBSD.org/src/rev/f6b24004a431
branches: netbsd-2-0
changeset: 561359:f6b24004a431
user: jmc <jmc%NetBSD.org@localhost>
date: Mon Jun 14 04:15:30 2004 +0000
description:
Pullup rev 1.67 (requested by petrov in ticket #470)
Initialize restartcnt.
diffstat:
sys/dev/usb/uhub.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 996af0036d31 -r f6b24004a431 sys/dev/usb/uhub.c
--- a/sys/dev/usb/uhub.c Mon Jun 14 04:14:55 2004 +0000
+++ b/sys/dev/usb/uhub.c Mon Jun 14 04:15:30 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uhub.c,v 1.65 2003/12/29 08:17:11 toshii Exp $ */
+/* $NetBSD: uhub.c,v 1.65.2.1 2004/06/14 04:15:30 jmc Exp $ */
/* $FreeBSD: src/sys/dev/usb/uhub.c,v 1.18 1999/11/17 22:33:43 n_hibma Exp $ */
/*
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhub.c,v 1.65 2003/12/29 08:17:11 toshii Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhub.c,v 1.65.2.1 2004/06/14 04:15:30 jmc Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -287,6 +287,7 @@
up->power = USB_MAX_POWER;
else
up->power = USB_MIN_POWER;
+ up->restartcnt = 0;
}
/* XXX should check for none, individual, or ganged power? */
Home |
Main Index |
Thread Index |
Old Index