On Tue, 30 Nov 1999, Neil D. Roberts wrote:

> Hello list;
> 
>       Sorry if those goes to the wrong list or people, and for it being to
> long. I have a serious problem with this, or better said, with myself. I
> don't know what to do and m time is sort of running out. I managed to
> find out some more information about what I have and what I need. lets
> see, to start off with, this list bellow is all which I know about my
> ethernet cards:
> Ethernet Card    Type Module I/O    IRQ   It has to be
> -----------------------------------------------------------
> Ethernet Card 1    ISA  ne     0x320  09    eth0
> Ethernet Card 2    ISA  ne     0x200  03    eth1
> Ethernet Card 3    ISA  ne     0x280  15    eth2
> 
> Things I have tried list:
> 
> 1. By using the command "modprobe", I inserted the three network cards
> in seperatly. Then I executed modprobe -c to see if it had got the
> changes, unfortunatly, it didn't work.
>       modprobe ne io=0x320 irq=09 [Enter]
>       modprobe ne io=0x200 irq=03 [Enter]
>       modprobe ne io=0x280 irq=15 [Enter]
> 

The above would get things working temporarily, but modprobe -c is reading
config files, so it wouldn't show it.

> 2. By using the command "modprobe", I inserted the three networl cards
> on the same line. Then I executed modprobe -c to see if it had got the
> changes, unfortunatly, iy didn't work.
>       modprobe ne io=0x320,0x200,0x280 irq=09,03,15 [Enter]

Again, modprobe -c wouldn't work, and I don't know enough about the ne
module to know if it supports multiple cards in one instance.  It varies
by driver.  The test you need to use is cat /proc/net/dev and see if
multiple eth# are listed.




Here is how I have accomplished simular tasks (although a long time ago,
so there may be a more elegant way to do it by now).

Use ln to create multiple names for ne, ex
cd /lib/modules/`kernelversion`/net
ln ne ne0
ln ne ne1
ln ne ne2


then in /etc/conf.modules (or in /etc/modutils/options in the case of a
newer setup) add 
options ne0 io=0x320 irq=09
options ne1 io=0x200 irq=03
options ne2 io=0x280 irq=15

The reason this is nessary is only the last options line with a given name
will be read.

Reply via email to