Date: Wed, 01 Dec 1999 13:50:05 -0700 From: Warner Losh <imp@village.org> To: Doug Rabson <dfr@nlsystems.com> Cc: Christopher Masto <chris@netmonger.net>, new-bus@freebsd.org Subject: Re: PCCARD eject freeze (was Re: your mail) Message-ID: <199912012050.NAA04082@harmony.village.org> In-Reply-To: Your message of "Wed, 01 Dec 1999 20:03:25 GMT." <Pine.BSF.4.10.9912012001260.325-100000@salmon.nlsystems.com> References: <Pine.BSF.4.10.9912012001260.325-100000@salmon.nlsystems.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.10.9912012001260.325-100000@salmon.nlsystems.com> Doug Rabson writes: : The device_detach routine *must* teardown all interrupt handlers and : release all resources. If this rule is followed, then the handler : shouldn't be called after detach, so there is no problem, right? Assuming that the interrupt handler isn't interrupted by a thread that removes the device. Further assuming that all sleepers for this device (eg in read, ioctl, etc) are terminated. These assumptions are what are commonly violated in the tree now. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912012050.NAA04082>