From mint-bounce@lists.fishpool.fi  Sun Oct 16 16:08:06 2005
X-Original-To: fnaumann@mail.boerde.de
Delivered-To: fnaumann@mail.boerde.de
Subject: Re: [MiNT] single XIF handling multiple interfaces
From: Petr Stehlik <joy@sophics.cz>
To: Frank Naumann <fnaumann@boerde.de>
Cc: mint@fishpool.com
In-Reply-To: <Pine.NEB.4.62.0510130958160.13225@wh58-508.st.uni-magdeburg.de>
References: <1129188147.4837.17.camel@joy.sophics>
	 <Pine.NEB.4.62.0510130958160.13225@wh58-508.st.uni-magdeburg.de>
Content-Type: text/plain; charset=ISO-8859-2
Date: Sun, 16 Oct 2005 16:02:06 +0200
Message-Id: <1129471326.4925.34.camel@joy.home>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.3 
X-MIME-Autoconverted: from 8bit to quoted-printable by ms1.avonet.cz id j9GE3L37026032
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-To: mint-bounce@lists.fishpool.fi
X-original-sender: joy@sophics.cz
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
X-Virus-Scanned: by amavisd-new at relay.boerde.de
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de
X-Spam-Status: No, hits=1.2 tagged_above=-50.5 required=7.0 tests=AWL,
 BAYES_00, RCVD_IN_DYNABLOCK, RCVD_IN_SORBS
X-Spam-Level: *
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by wh58-902.st.uni-magdeburg.de id j9GE8517025755

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


