Date: Wed, 1 Dec 1999 20:12:32 +0000 (GMT) From: Doug Rabson <dfr@nlsystems.com> To: Mike Smith <msmith@freebsd.org> Cc: Warner Losh <imp@village.org>, Christopher Masto <chris@netmonger.net>, Nick Hibma <hibma@skylink.it>, FreeBSD CURRENT Mailing List <current@freebsd.org> Subject: Re: PCCARD eject freeze (was Re: your mail) Message-ID: <Pine.BSF.4.10.9912012010550.325-100000@salmon.nlsystems.com> In-Reply-To: <199911302335.PAA02844@mass.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9912012010550.325-100000>