Re: XXX_Init only being called once



You must know that XXX_Init only be called once when system load. You need
change your design.

Andy Shi

http://www.v-max.com.cn

"Thomas Magma" <somewhere@xxxxxxxxxxxxxxxxxx> дÈëÏûÏ¢ÐÂÎÅ:uvvpbeL5FHA.1252@xxxxxxxxxxxxxxxxxxxxxxx
> We are rewriting our PCMCIA driver for WM 5.0. I am noticing some odd
> behavior I'm hoping someone can shed some light on it. The first time the
> card is inserted in the CF slot the device manager does everything as
> planned. Our driver dll is being loaded properly and sits next to
> pcmcia.dll when viewed with Remote Process Viewer. Oure XXX_Init function
> is being called in our driver and the active key with our prefix shows up.
> These are all expected behaviors, however, when I remove the card and
> insert it a second or third time none of these events occur. If I don't
> CardDeregisterClient on the first card removal I will still get call backs
> to the driver when the card is continually inserted and de-inserted. If I
> do CardDeregisterClient on the first card removal my driver is never
> called again. Even though my driver dll doesn't appear anywhere on Remote
> Process Viewer after the first card insertion a pop-up window is still
> telling me some process is holding on to it when I try to copy over top.
>
> How do I make sure XXX_Init is called each time our card is inserted?
>
> Thanks,
>
> Thomas
>


.



Relevant Pages

  • RE: [UPDATED PATCH] EFI support for ia32 kernels
    ... >> reuse a single driver image for multiple architectures assuming there ... As one of the people responsible for the EFI Specification and our ... Perhaps the UNDI network card interface that Intel developed ... BIOS can't shadow that much ROM code. ...
    (Linux-Kernel)
  • Re: Linux, X, ld, gcc, linking, shared libraries and stuff
    ... >> because, originally, video cards / system RAM could NOT afford to have ... > GL actually "copies" everything, but it's done by the graphics card, so ... > anyway if it's not hardware accelerated. ... installed the proper driver, then it zooms around the screen... ...
    (alt.lang.asm)
  • Re: XXX_Init only being called once
    ... > My stream interface driver has been stripped right back to try to solve ... > I plug my card in the first time. ... > There are two new active keys in the registry PCMCIA and myDriver. ... > No entry points are called in my driver. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: VIA Envy24PT sound card driver loads at startup properly 9 of 10 times
    ... driver updates including the latest and correct driver for the sound card. ... Onboard sound chip is disabled in BIOS and the driver for it is not installed. ... The sound card, Chaintech, Envy24 Family Audio Controller WDM, is installed/seated properly and uses the IRQ 16 exclusively. ...
    (microsoft.public.windowsxp.hardware)
  • Re: WDF storage driver is a dead-end street
    ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ... AHCI controller card, etc. ... Since the extension is passed in the miniport at ... So I need to create a virtual adapter out of two physical adapters. ...
    (microsoft.public.development.device.drivers)