Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2004 13:03:10 -0700
From:      Nate Lawson <nate@root.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/dev/usb usb_port.h
Message-ID:  <4151DA7E.7070804@root.org>
In-Reply-To: <20040922.130051.119859553.imp@bsdimp.com>
References:  <20040921230445.B44288@root.org> <20040922.085115.34541167.imp@bsdimp.com>	<4151C1A7.2040905@root.org> <20040922.130051.119859553.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
M. Warner Losh wrote:
> In message: <4151C1A7.2040905@root.org>
>             Nate Lawson <nate@root.org> 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

Exactly what I meant.  Thanks.

-- 
Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4151DA7E.7070804>