Hi all,
Making significant progress on my driver package, but have a question,
mostly out of curiosity…
When I use device manager to ‘disable’ the adapter, I get the following
sequence:
venet: pause called
venet: restart called
venet: pause called
venet: restart called
venet: pause called
venet: halt called
venet: unload
The “pause”, “restart” etc relate directly to the miniport callbacks
configured during creation.
I’m curious about why the sequence of pausing, restarting, and then
finally halting? Seems to me that the sequence should be:
pause
halt
unload
Why the restarts?
Now, this is still a work in progress, and I have not fully integrated
all aspects of the callbacks yet, they are mostly skeletons at this
point.
Some additional info… I do not set the link state yet, so the
adapater is always in the unlink state (as far as NDIS is concerned) and
I do not async the restart status, the restart routine always returns
NDIS_STATUS_SUCCESS.
Is this expected behavior? Or am I missing something?
Thx
-PWM