DriverEntry not being called



I am working on a SDIO wirless card driver and am attempting to use
the Atheros driver as as example.

I currently have the registry configured such that I do get my
xxx_init() function called on device insertion. In this function, I
spawn a secondary thread to do the NdisRegisterAdapter() call (again,
just like the Atheros) example.

I do get a thread attach message at my dllEntry point but driverEntry
does not get called and status from NdisRegisterAdapter() is
0xc0000004 indicating an exception.

So, two questions:

1) if the NdisRegisterAdpater() call succeeds, should I then get a
resulting call at my DriverEntry()?
2) what could cause the NdisRegisterAdatper to throw an exception when
I have not yet been called?

Thanks,
_Eric
.



Relevant Pages

  • Re: atheros chips dangerous?
    ... Wesley Morgan wrote: ... the Atheros driver is fantastic. ... The driver may be "binary" in some ways, but I think we got the best of both worlds. ... "FOSS" that it gets more peer review need only to look at some of the oldest open source projects around, such as sendmail or XFree/Xorg, to realize that security problems can persist for years without being discovered. ...
    (FreeBSD-Security)
  • Re: DOT11_OPERATION_MODE_NETWORK_MONITOR in NDIS 6.0 on Vista
    ... Which specific Atheros driver ... Vista from within an NDIS protocol driver? ... The call to set the operational mode NEVER makes it to the Atheros ...
    (microsoft.public.development.device.drivers)
  • Re: DOT11_OPERATION_MODE_NETWORK_MONITOR in NDIS 6.0 on Vista
    ... You should be able to use the "PCAGizmo" tool to examine OIDs above and below the Microsoft Native Wi-Fi driver. ... Microsoft added an operational mode called ... The Atheros driver has code to process the OID, ...
    (microsoft.public.development.device.drivers)
  • Re: Network card - sis190 driver and YAST2
    ... and everthing is fine except for the network. ... with an active sis190 driver and also an Atheros 802.11 b/g wireless PCI ... the Atheros driver should be. ...
    (alt.os.linux.suse)