[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Two NICs



On Tue, Aug 06, 2002 at 08:24:21PM +0530, Sridhar M.A. wrote:
| On Tue, Aug 06, 2002 at 10:29:23AM -0400, Jerome Acks Jr wrote:
|    > 
|    > From Net-HOWTO:
|    > 6.3.1. If your driver is a module (Normal with newer distros)
|    > The module will typically can detect all of the installed cards.
|    > Information from the detection is stored in the file:
|    > 
|    > /etc/conf.modules.
...
|    >         options ne io=0x220,0x240,0x300
|    > 
|    > What this does is tell the program modprobe to look for 3 NE
|    > based cards at the following addresses. It also states in which
|    > order they should be found and the device they should be
|    > assigned.     
|
| Fine. But, my cards are pci and I do not pass on the addresses as
| parameters.

Nonetheless, that's how you specify which one is 0 and which is 1.
Here's a snippet from my /etc/modutils/LOCAL-dman

# LinkSys LNE100TX ethernet adapter (hardware revision 2.0)
# eth0: Lite-On PNIC-II rev 37 at 0xdc00, 00:A0:CC:35:09:AA, IRQ 11.
alias eth0 tulip 
options eth0 io=0xdc00 irq=11

# LinkSys LNE100TX ethernet adapter (hardware revision 4.1)
# eth1: ADMtek Comet rev 17 at 0xde00, 00:04:5A:4F:30:67, IRQ 10.
alias eth1 tulip
options eth1 io=0xde00 irq=10


I have 2 (PCI) tulip cards, and I specify which IO address refers to
eth0 and which refers to eth1.  I also specified the interrupt since I
had a spare and by default they were sharing the same one.

-D

-- 
If your life is a hard drive,
Christ can be your backup.
 
http://dman.ddts.net/~dman/

Attachment: pgpW9ZqsT0X_o.pgp
Description: PGP signature


Reply to: