Re: KEV_DL_IF_DETACHED/KEV_DL_IF_ATTACHED: how to?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Feb 25, 2005, at 8:36, Stephane Sudre wrote: Regards, Justin -- Justin C. Walker, Curmudgeon-At-Large * Institute for General Semantics | When LuteFisk is outlawed | Only outlaws will have | LuteFisk *--------------------------------------*-------------------------------* _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... What kind of operation/action can trigger a KEV_DL_IF_ATTACHED or KEV_DL_IF_DETACHED kernel event? If you haven't tried it yet, consider getting a copy of the xnu kernel source and using 'cscope'. This will let you track down the answer to such questions (as long as the answers lie in the BSD/Mach part of the kernel; cscope does not grok C++ [and it's not alone]). Ejecting/inserting a WiFi PCMCIA card in an old PowerBook for instance? It probably depends on exactly what the device handler and the corresponding IONetwork family support does. I believe that, for the Ethernet family, insertion/ejection of the card (or a cable) will cause such events, but the code tells the real story. Note that the IONetworkFamily code is a separate module, and is packaged separately in the darwin repository. This email sent to site_archiver@lists.apple.com
participants (1)
-
Justin Walker