Date: Tue, 23 May 2006 01:27:23 +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 usb.c Message-ID: <200605230127.k4N1RN5B069384@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2006-05-23 01:27:23 UTC FreeBSD src repository Modified files: sys/dev/usb usb.c Log: When usb_event_thread() first starts, wait significantly longer before starting exploring (4 seconds), and extend the wait period if new USB buses are attached while waiting. This works around a problem seen when there is more than one EHCI controller in the system and you kldload usb.ko after the system has booted. The problem is that usb.ko contains 3 separate PCI drivers which get initialised one by one (uhci, ohci, ehci), and when each driver is initialised, all PCI buses are re-probed after just the addition of that driver. This means that there can be a significant delay between the attaching of a companion controller and the subsequent EHCI attach, so it is possible for the companion controller's USB 1.x bus to be scanned before the EHCI driver gets a chance to check if there is really a USB 2.x device connected. Revision Changes Path 1.108 +14 -5 src/sys/dev/usb/usb.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605230127.k4N1RN5B069384>