cvs commit: src/sys/dev/usb usb_port.h
Nate Lawson
nate at root.org
Wed Sep 22 13:03:36 PDT 2004
M. Warner Losh wrote:
> In message: <4151C1A7.2040905 at root.org>
> Nate Lawson <nate at 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
More information about the cvs-src
mailing list