From owner-cvs-all@FreeBSD.ORG Thu Mar 17 19:41:20 2005 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 4575616A4CF; Thu, 17 Mar 2005 19:41:20 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EE8D43D48; Thu, 17 Mar 2005 19:41:20 +0000 (GMT) (envelope-from iedowse@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j2HJfK8J003686; Thu, 17 Mar 2005 19:41:20 GMT (envelope-from iedowse@repoman.freebsd.org) Received: (from iedowse@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j2HJfKje003685; Thu, 17 Mar 2005 19:41:20 GMT (envelope-from iedowse) Message-Id: <200503171941.j2HJfKje003685@repoman.freebsd.org> From: Ian Dowse Date: Thu, 17 Mar 2005 19:41:20 +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 usb.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, 17 Mar 2005 19:41:20 -0000 iedowse 2005-03-17 19:41:20 UTC FreeBSD src repository Modified files: sys/dev/usb usb.c Log: Defer boot-time exploration of USB busses until all devices in the system have been attached, but no later. This ensures that we do not explore ohci or uhci busses before the companion echi controller has been initialised, so it should fix the problem of multi-speed USB devices getting attached as USB 1 devices first and then re-attached as USB 2. Some further changes are needed on architectures that do not currently allow hooks to be inserted before configure_final() - alpha, ia64, powerpc and sparc64. On these architectures the exploration will now be delayed until the usb kthread runs. Revision Changes Path 1.104 +30 -1 src/sys/dev/usb/usb.c