Re: KEV_DL_IF_DETACHED/KEV_DL_IF_ATTACHED: how to?
Re: KEV_DL_IF_DETACHED/KEV_DL_IF_ATTACHED: how to?
- Subject: Re: KEV_DL_IF_DETACHED/KEV_DL_IF_ATTACHED: how to?
- From: Justin Walker <email@hidden>
- Date: Fri, 25 Feb 2005 17:52:59 -0800
On Feb 25, 2005, at 8:36, Stephane Sudre wrote:
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.
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden