This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Problem with TCP/IP stack
On Fri, Jan 11, 2008 at 05:46:46AM -0700, Gary Thomas wrote:
> Antoine Zen-Ruffinen wrote:
>> Ok, I found the problem but I dont' know how to solve it: My two NIC
>> are sharing the same interrupt. So when the second NIC do an
>> interrupt, it is handel like it is the first NIC that interrupt.
>>
>> Does someone know how to solve such an issue ?
>>
>
> The key is to make your interrupt handler (ISR) tell the upper
> layers which board did it.
The intel i82559 driver can do this. Take a look at its interrupt
handler code.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss