<html><body>
<a href="doc123.html"><img src=../icons/next.gif alt="Next"></a>
<a href="doc000.html"><img src=../icons/up.gif alt="Up"></a>
<a href="doc121.html"><img src=../icons/previous.gif alt="Previous"></a>
<a href="doc000.html"><img src=../icons/contents.gif alt="Contents"></a>
<a href="doc143.html"><img src=../icons/index.gif alt="Index"></a>
<hr>
<h2><a name="sF.3">F.3 Ethernet parameters</a></h2>
<title>Ethernet parameters</title>

<a name="i798">
<a name="i799">

<p>Most ethernet drivers accept parameters to specify a base IO address
and an IRQ as follows:

<p><blockquote>
<tt>io=</tt><em>base_addr</em> <tt>irq=</tt><em>irq</em>
</blockquote>

<p>For example, for a 3com 3c509 ethernet card located at IO address 210
(IO addresses are usually in hexadecimal) and IRQ 10, use the following
parameters for the <tt>3c509</tt> driver:

<p><blockquote>
<tt>io=0x210 irq=10</tt>
</blockquote>

<p>You can use multiple ethernet cards in one machine
<a name="i800">.  If each card uses
a different driver (e.g., 3c509 and a DE425), you simply need to add
aliases (and possibly options) for each card to
<tt>/etc/conf.modules</tt>; for example:

<p><blockquote>
<pre>
alias eth0 3c509
options 3c509 io=0x210 irq=10
alias eth1 de4x5
options de4x5 io=0
</pre>
</blockquote>

<p>See Section <a href="doc070.html#s9.6">9.6</a> for more information.

<p>However, if any two ethernet cards use the same driver (e.g., two
3c509's or a 3c595 and a 3c905), you will need to compile a custom
kernel with the ethernet driver built in.  In that case, you can use the
``classic'' LILO <tt>boot:</tt> parameters of the form:

<p><blockquote>
<tt>ether=</tt><em>irq,base_addr,interface</em>
</blockquote>

<p>For example:

<p><blockquote>
<pre>
LILO boot: linux ether=10,0x210,eth0 ether=11,0x300,eth1
</pre>
</blockquote>

<p>(For more information about using more than one ethernet card, see the
<em>Multiple-Ethernet</em> mini-HOWTO.)

<p>

<p>
<p><hr>
<a href="doc123.html"><img src=../icons/next.gif alt="Next"></a>
<a href="doc000.html"><img src=../icons/up.gif alt="Up"></a>
<a href="doc121.html"><img src=../icons/previous.gif alt="Previous"></a>
<a href="doc000.html"><img src=../icons/contents.gif alt="Contents"></a>
<a href="doc143.html"><img src=../icons/index.gif alt="Index"></a>
<hr>
</body></html>
