From owner-cvs-src@FreeBSD.ORG Thu Sep 9 20:43:50 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25F2716A4CE; Thu, 9 Sep 2004 20:43:50 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03E6543D41; Thu, 9 Sep 2004 20:43:50 +0000 (GMT) (envelope-from imp@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 i89KhnBs025535; Thu, 9 Sep 2004 20:43:49 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i89Khnf9025534; Thu, 9 Sep 2004 20:43:49 GMT (envelope-from imp) Message-Id: <200409092043.i89Khnf9025534@repoman.freebsd.org> From: Warner Losh Date: Thu, 9 Sep 2004 20:43:49 +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-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2004 20:43:50 -0000 imp 2004-09-09 20:43:49 UTC FreeBSD src repository Modified files: sys/dev/usb uhub.c Log: We don't need a uhub_child_detached() routine now that we don't detach device_t instances when no driver attaches. They are left around, and we need to remember them. # The usbd_device_handle->subdevs[] array likely is completely bogus # at this point, but one change at a time, since its removal will need # to have similar code replace it extracted from newbus. Part of the patch submitted by Peter Pentchev after an excellent analysis of the underlying problems. MFC After: 1 week Revision Changes Path 1.63 +2 -34 src/sys/dev/usb/uhub.c