Leonardo Pappagallo wrote:
> hi jan.
> 
> I have a machine where I have installed two ethernet card.
> both have the same one IRQ. (I have used Realteck 8139too and via-rhine.)
> I can't change the IRQ line of the cards by BIOS, it can't allow this
> setting.

That's awkward. Some VIA embedded box with all stuff on-board, no PCI
slot to flip? We do have some of those here too, but the two NICs
fortunately use different physical IRQ lines.

> 
> With this solution I can use one card in real time mode, other card is off.
> (rtifconfig show only rteth0, rteth1 isn't shown)
> 
> Do you have same idea about this problem?
> 
> 
> If I can't use second ethernet card because IRQ must be different, can I
> change the RTnet code to manage two cards?
> If I can, which file I can modify?  (The RTnet driver card o RTnet core)

If both NICs were managed by the same driver (thus the same IRQ
handler), this would already be possible. Unfortunately, they are not,
so RTnet first depends on the underlying RTOS to provide real-time IRQ
sharing.

Xenomai is currently gaining this feature. Dmitry is on it, we expect
something testable during this month. Then we will see what changes are
required for RTnet, but I don't expect significant one.

As far as I know, RTAI does not provide IRQ sharing as well and is not
planning to do so. But someone with more recent RTAI experiences may
correct me.

So, for now no other solutions than leaving one NIC unused. But at least
the re-use for RTnet is in sight.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to