Example 8-1. Two ISA ethernet cards
Consider we have two ISA 3c509 cards, one at I/O 0x300 and one at I/O 0x320.
For ISA cards, edit the conf.modules file, vi /etc/conf.modules and add:
alias eth0 3c509
alias eth1 3c509
options 3c509 io=0x300,0x320
|
This says that the
3c509 driver should be loaded for either
eth0 or
eth1 alias
eth0,
eth1 and it should be loaded with
the options
io=0x300,0x320 so that the drivers knows where to look for the cards. Note that
0x is important, things like
300h as commonly used in the
DOS world wont work.
For PCI cards, you typically only need the alias lines to correlate the ethN interfaces with the appropriate driver name, since the I/O base of a PCI card can be safely
detected.
For PCI cards, edit the conf.modules file vi /etc/conf.modules and add:
alias eth0 3c509
alias eth1 3c509
|