Hello,

I have a CE 4.2 SH3 platform with IRQ0 set as a rising-edge triggered
interrupt that is connected to the INT0 pin on a SMSC91C111 ethernet
chip. Under high traffic conditions the chip is resetting.

I searched this newsgroups and read the postings regarding this issue
on this chip and I plan to implement the fix that involves checking the
status of the interrupt from the OAL prior to re-enabling the interrupt
and setting the IST event so that a "missed" rising edge will be
serviced anyway.

I was thinking this must be done in OEMInterruptEnable(). What API(s)
exist to find out what event handle NDIS has set up to service the IST
so that I can set the event myself when this condition occurs?

Any advice is appreciated.

Cheers,
Ken

Re: missing 91c111 interrupts by Dean

Dean
Thu Aug 24 08:15:42 CDT 2006

You don't need an event handle, you use the sysintr value with
NKSetInterruptEvent.

--
Dean Ramsier - eMVP
BSQUARE Corporation


"Ken Hill" <kenneth_hill@msn.com> wrote in message
news:1156416759.567119.210180@i3g2000cwc.googlegroups.com...
> Hello,
>
> I have a CE 4.2 SH3 platform with IRQ0 set as a rising-edge triggered
> interrupt that is connected to the INT0 pin on a SMSC91C111 ethernet
> chip. Under high traffic conditions the chip is resetting.
>
> I searched this newsgroups and read the postings regarding this issue
> on this chip and I plan to implement the fix that involves checking the
> status of the interrupt from the OAL prior to re-enabling the interrupt
> and setting the IST event so that a "missed" rising edge will be
> serviced anyway.
>
> I was thinking this must be done in OEMInterruptEnable(). What API(s)
> exist to find out what event handle NDIS has set up to service the IST
> so that I can set the event myself when this condition occurs?
>
> Any advice is appreciated.
>
> Cheers,
> Ken
>



Re: missing 91c111 interrupts by Ken

Ken
Thu Aug 24 10:54:28 CDT 2006

Ok, I tried that, but if I build and link my platform the symbol is
unresolved. I dont find this API documented. Is it included in CE 4.2?


Re: missing 91c111 interrupts by Dean

Dean
Thu Aug 24 12:04:05 CDT 2006

Looks like it is new in 5.0. You could manufacture your own version of the
API by either looking at the CE5 implementation, or basing it on the
SetInterruptEvent implentation in 4.2...

--
Dean Ramsier - eMVP
BSQUARE Corporation


"Ken Hill" <kenneth_hill@msn.com> wrote in message
news:1156434868.750454.42430@i42g2000cwa.googlegroups.com...
> Ok, I tried that, but if I build and link my platform the symbol is
> unresolved. I dont find this API documented. Is it included in CE 4.2?
>