Multiple PCI nics

Lauri Tischler (lauri.tischler@efore.fi)
Tue, 07 Sep 1999 12:33:39 +0300


Here is part of cat /proc/pci:

PCI devices found:
-- snip --
Bus 0, device 8, function 0:
Ethernet controller: DEC DC21041 (rev 17).
Medium devsel. Fast back-to-back capable. IRQ 11. Master Capable.
Latency=32.
I/O at 0x6200 [0x6201].
Non-prefetchable 32 bit memory at 0xe0000000 [0xe0000000].
Bus 0, device 10, function 0:
Ethernet controller: DEC DC21041 (rev 17).
Medium devsel. Fast back-to-back capable. IRQ 9. Master Capable.
Latency=32.
I/O at 0x6400 [0x6401].
Non-prefetchable 32 bit memory at 0xe0002000 [0xe0002000].
Bus 0, device 11, function 0:
Ethernet controller: DEC DC21041 (rev 17).
Medium devsel. Fast back-to-back capable. IRQ 12. Master Capable.
Latency=32.
I/O at 0x6500 [0x6501].
Non-prefetchable 32 bit memory at 0xe0003000 [0xe0003000].
Bus 0, device 9, function 0:
Ethernet controller: DEC DC21140 (rev 32).
Medium devsel. Fast back-to-back capable. IRQ 10. Master Capable.
Latency=32. Min Gnt=20.Max Lat=40.
I/O at 0x6300 [0x6301].
Non-prefetchable 32 bit memory at 0xe0001000 [0xe0001000].

as you can see ethernetcards are pci-devices 8-11
It would be nice to be able to say..
alias eth0 tulip
alias eth1 tulip
alias eth2 tulip
alias eth3 tulip
options eth0 device 8
options eth1 device 9
options eth2 device 11
options eth3 device 10

so that eth0-eth3 would be dependent of physical slot instead of io or irq
or some mysterious probing order.

cheers..

--
Lauri Tischler, Network Admin
Tel:    +358-9-47846331        *       Mouse movement detected      *
Fax:    +358-9-47846500        * Reboot Windows to activate changes *
Mobile: +358-40-5569010    
EMail:  lauri.tischler@efore.fi
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu