Date: Sun, 23 Mar 2003 09:23:05 -0700 (MST) From: "M. Warner Losh" <imp@bsdimp.com> To: gurney_j@resnet.uoregon.edu Cc: mdodd@FreeBSD.ORG, dfr@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: bug in subr_bus.c? Message-ID: <20030323.092305.83978540.imp@bsdimp.com> In-Reply-To: <20030323174445.K36261-100000@resnet.uoregon.edu> References: <20030321094447.E8716@sasami.jurai.net> <20030323174445.K36261-100000@resnet.uoregon.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20030323174445.K36261-100000@resnet.uoregon.edu> John-Mark Gurney <gurney_j@resnet.uoregon.edu> writes: : The bus code could use some locking in it... like you can't delete_child : from child_detache... and/or better docs on how to handle children... I'm : not even sure how I was doing things wrong, but I think it might of been : problems with my code not calling bus_generic_detach before calling : device_child_delete... I'm doing the locking, but you can do a bus_delete_child in a child's detach routine. Cardbus does this right now and it works when you unload the cardbus bridge... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030323.092305.83978540.imp>