From owner-cvs-all@FreeBSD.ORG Thu Jun 10 01:13:30 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B62F16A4CE; Thu, 10 Jun 2004 01:13:30 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D6DE43D39; Thu, 10 Jun 2004 01:13:30 +0000 (GMT) (envelope-from iedowse@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i5A1DRXg006039; Thu, 10 Jun 2004 01:13:27 GMT (envelope-from iedowse@repoman.freebsd.org) Received: (from iedowse@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5A1DRvB006038; Thu, 10 Jun 2004 01:13:27 GMT (envelope-from iedowse) Message-Id: <200406100113.i5A1DRvB006038@repoman.freebsd.org> From: Ian Dowse Date: Thu, 10 Jun 2004 01:13:27 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/usb uhub.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 01:13:30 -0000 iedowse 2004-06-10 01:13:27 UTC FreeBSD src repository Modified files: sys/dev/usb uhub.c Log: Initialise `restartcnt' in the newly malloc'd usbd_port structure, as otherwise the junk it contains may cause uhub_explore to give up without ever trying to restart the port. This fixes the following errors I was seeing with a VIA UHCI controller: uhub0: port error, restarting port 1 uhub0: port error, giving up port 1 Revision Changes Path 1.55 +1 -0 src/sys/dev/usb/uhub.c