On Tue, 30 Nov 1999, Mike Smith wrote:

> > Hmmm...  That's something...  How do you know that the delete_child is
> > failing?  An if printing that it failed or conjecture based on the
> > insertion results?
> 
> You should definitely check the delete result, yes.
> 
> Also, are you calling bus_generic_detach() after deleting the child?
> I got the impression from Doug that this is required...

Nonono. If you call bus_generic_detach from anywhere, call it from
ep_detach(). Don't call bus_generic_anything() outside the implementation
of a driver. The device_delete_child() call implies a call to
device_detach() which *may* use bus_generic_detach() to do some of its
work.

--
Doug Rabson                             Mail:  [EMAIL PROTECTED]
Nonlinear Systems Ltd.                  Phone: +44 181 442 9037




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to