[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] single XIF handling multiple interfaces
Frank Naumann píše v Čt 13. 10. 2005 v 10:07 +0200:
> > do we have source code of a XIF driver that would create and handle
> > several interfaces at once? Imagine that you have installed several
> > network cards of the same type using the same interrupt - can single XIF
> > handle them all? How to program it?
>
> Yes, no problem. You register each interface in driver_init with
> if_register (you ned to allocate a struct netif for each interface).
Yes, it was plain easy. Now ARAnyM supports up to 8 ethernet interfaces.
So if someone wants to play with routing in FreeMiNT... ;-)
Petr