cvs commit: src/sys/dev/usb usb_port.h

M. Warner Losh imp at bsdimp.com
Wed Sep 22 12:01:15 PDT 2004


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


More information about the cvs-src mailing list