From owner-cvs-all@FreeBSD.ORG Sat Aug 14 22:10:26 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 889AE16A4CE; Sat, 14 Aug 2004 22:10:26 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FEAB43D1D; Sat, 14 Aug 2004 22:10:26 +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 i7EMAQok060334; Sat, 14 Aug 2004 22:10:26 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7EMAQtT060333; Sat, 14 Aug 2004 22:10:26 GMT (envelope-from imp) Message-Id: <200408142210.i7EMAQtT060333@repoman.freebsd.org> From: Warner Losh Date: Sat, 14 Aug 2004 22:10:26 +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 usb_port.h usb_subr.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: Sat, 14 Aug 2004 22:10:26 -0000 imp 2004-08-14 22:10:26 UTC FreeBSD src repository Modified files: sys/dev/usb uhub.c usb_port.h usb_subr.c Log: Next step in making usb more newbus: o reprobe children when a new driver is added to uhub o fix the usbd_probe_and_attach to set the ivars to a malloc'd area, as well as freeing the ivars on child destruction. o Don't delete children that don't attach. Evidentally, the need to do this is a common misconception. o minor formatting foo that may violate style(9) at the moment, but keeps the diffs against my p4 tree smaller. This does not solve the ugen gobbling things up problem, but the fixes I have for that expose bugs in other parts of the tree... Revision Changes Path 1.61 +14 -26 src/sys/dev/usb/uhub.c 1.66 +5 -1 src/sys/dev/usb/usb_port.h 1.68 +31 -37 src/sys/dev/usb/usb_subr.c