Re: No IST in an NDIS Miniport?
- From: "voidcoder" <voidcoder@xxxxxxxxx>
- Date: Tue, 7 Mar 2006 00:18:45 +0100
Normally you don't have to deal with the interrupts directly
in your NDIS miniport as this is handled by the NDIS
itself. You don't need to call InterruptDone in your
driver.
Please provide some additional details. What platform is it,
what ethernet chip (is the speak about etherent?), etc.
The power-cycle means suspend/resume or true
power off/on?
Did you try to look through the controller registers
when it happens? Is the controller configured properly,
interrupts enabled/cleared etc?
"Airohead" <Airohead@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:48F55D19-CE77-42AA-9D5C-BCFEDF03B540@xxxxxxxxxxxxxxxx
Hello All,
I have just inherited a CE NDIS driver and am trying to debug a problem
where, after several quick power-cycles, the driver comes up in a state
where
it receives no interrupts. As such I am trying to learn about the WinCE
interrupt model.
Everything I've read so far refers to an ISR/IST model where an event is
created at initialization time and linked to a system interrupt such that
all
interrupts result in activation of a waiting thread. I've also read that
InterruptInitialize and IniterruptDone are essential calls in this
process.
I see none of that in this driver. The interrupt handler seems to be a
function that was registered with NDIS via the NdisMRegisterMiniport call.
So my question is, does the ISR/IST model not apply to NDIS miniports,
i.e.,
is it handled invisibly by NDIS? For example, should there be a call to
InterruptDone anywhere in an NDIS miniport?
Also, I have been dumping portions of the interrupt object during startup
(there's a lot to dump!) but so far have been unable to detect any
difference
between normal start-ups where interrupts work fine, and those where the
ISR
is never called. Does anyone have any suggestions on how to debug this
sort
of thing.
Thanks.
(I have not tried putting a scope on the interrupt line to verify that it
is
being generated. This device is not m company's; it's all self-contained
and
might be difficult to get at. For the moment I am assuming that the h/w
is
not the problem.)
.
- Follow-Ups:
- Re: No IST in an NDIS Miniport?
- From: Airohead
- Re: No IST in an NDIS Miniport?
- Prev by Date: Link .obj files
- Next by Date: Re: Configuring RAM to 256MB on CEPC - Windows Mobile 5.0 ??
- Previous by thread: Link .obj files
- Next by thread: Re: No IST in an NDIS Miniport?
- Index(es):
Relevant Pages
|