From owner-cvs-src@FreeBSD.ORG Wed Sep 22 19:01:15 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 1B57616A4CE; Wed, 22 Sep 2004 19:01:15 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99E8243D1F; Wed, 22 Sep 2004 19:01:14 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (harmony.village.org [10.0.0.6]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id i8MIxmXh001164; Wed, 22 Sep 2004 12:59:49 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 22 Sep 2004 13:00:51 -0600 (MDT) Message-Id: <20040922.130051.119859553.imp@bsdimp.com> To: nate@root.org From: "M. Warner Losh" In-Reply-To: <4151C1A7.2040905@root.org> References: <20040921230445.B44288@root.org> <20040922.085115.34541167.imp@bsdimp.com> <4151C1A7.2040905@root.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/dev/usb usb_port.h 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: Wed, 22 Sep 2004 19:01:15 -0000 In message: <4151C1A7.2040905@root.org> Nate Lawson writes: : > : > free(device_get_ivars(dev), M_USB); \ : > : > + device_detach(dev); \ Doh! OK. I get it now. We're lucky that the detach routine doesn't access the ivars at all (they are only accessed in probe/attach) which is what saves us... Warner