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."
Ignore that! For PCMCIA client drivers and any other PNP driver loaded and
unloaded when the device is inserted/removed that is not true.
You are correct in assuming the Init function should be called on each
insert. Well, sort of, there is a PNPunload delay registry value that leaves
things loaded for a period of time to allow you to re-insert the same card
after accidentally popping it out without unloading or invalidating it.
Rapid remove/insert cycles cause a problem for that.

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com


.


Loading