Date: Thu, 10 Jun 2004 01:13:27 +0000 (UTC) From: Ian Dowse <iedowse@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb uhub.c Message-ID: <200406100113.i5A1DRvB006038@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406100113.i5A1DRvB006038>
