如果是不同晶片的NIC.那就照module載入的順序
如果晶片相同..那就是照bus的順序
如果你真想要指定的話..
可以透過bootparam吧
man bootparam:
ETHERNET DEVICES
Different drivers make use of different parameters, but they all at least
share having an IRQ, an I/O port base value, and a name. In its most generic
form, it looks something like this:
ether=irq,iobase[,param_1[,...param_8]],name
The first non-numeric argument is taken as the name.
The param_n values (if applicable) usually have different meanings for
each different card/driver. Typical param_n values are used to specify
things like shared memory address, interface selection, DMA channel and
the like.The most common use of this parameter is to force probing for
a second ethercard, as the default is to only probe for one. This can
be accomplished with a simple: ether=0,0,eth1 Note that the values
of zero for the IRQ and I/O base in the above example tell the driver(s)
to autoprobe.The Ethernet-HowTo has extensive documentation on using
multiple cards and on the card/driver specific implementation of the
param_n values where used. Interested readers should refer to the section
in that document on their particular card.
http://www.tldp.org/HOWTO/Ethernet-HOWTO-2.html#ss2.4
這裡有更詳細的解釋
/etc/modules.conf
alias eth0 3c501
alias eth1 3c501
options eth0 -o 3c501-0 io=0x280 irq=5
options eth1 -o 3c501-1 io=0x300 irq=7