Patch2 work as you expected. I now use ne io=0x320,0xff80 in /etc/modules
so the ISA NIC is on the internet side (eth0) (cable modem) and the PCI (eth1)
on my very small LAN (faster). It's been a while that i was too lazy to do
vi /etc/init.d/network ;*)
root@philou:/home/philou# modprobe ne io=0x320,0xff80
loading device 'eth0'...
ne.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)
NE*000 ethercard probe at 0x320: 00 00 b4 32 a2 02
eth0: NE2000 found at 0x320, using IRQ 10.
loading device 'eth1'...
NE*000 ethercard probe at 0xff80: 00 00 1c 30 05 68
eth1: NE2000 found at 0xff80, using IRQ 11.
root@philou:/home/philou# modprobe ne nbunit=1
loading device 'eth0'...
ne.c: PCI BIOS reports ne2000 clone at i/o 0xff80, irq 11.
ne.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)
NE*000 ethercard probe at 0xff80: 00 00 1c 30 05 68
eth0: NE2000 found at 0xff80, using IRQ 11.
root@philou:/home/philou# modprobe ne nbunit=2
^
faulty, just to try it out
loading device 'eth0'...
ne.c: PCI BIOS reports ne2000 clone at i/o 0xff80, irq 11.
ne.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)
NE*000 ethercard probe at 0xff80: 00 00 1c 30 05 68
eth0: NE2000 found at 0xff80, using IRQ 11.
loading device 'eth1'...
ne.c: Module autoprobing not allowed. Append "io=0xNNN" value(s).
ne.c: No NE*000 card found (i/o = 0x0).
> People with only one PCI adaptor can go with
>
> modprobe ne
>
> Anyway, here is the patch. Comments are welcome
>
> There is some sort of standard among ethernet adaptor for the available
> module parameter. I am wondering if "nbunit" should be made available in
> all as a protection.
> --------------------------------------------------------
> Jacques Gelinas (jacques@solucorp.qc.ca)
> Linuxconf: The ultimate administration system for Linux.
> see http://www.solucorp.qc.ca:/linuxconf
-- Philippe Strauss, CH-1092 Belmont Email: philippe.strauss@urbanet.ch