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

next in thread | previous in thread | raw e-mail | index | archive | help
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



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