Re: How does "alias ethX drivername" in modules.conf work?

From: Riley Williams (rhw@MemAlpha.CX)
Date: Sat Aug 04 2001 - 14:35:37 EST


Hi Thomas.

>> the kernel calls modprobe asking for the network device 'eth0',
>> modprobe uses the configuration file to map this to a module

> so, what happens when you have two eth cards that use the same
> module? in the isa land, the order you pass the io=0x300,0x240
> would determine which order the eth?'s go to...how about in the
> pci world?

One of my systems has SIX ethernet cards, these being three ISA and
two PCI NE2000 clones and a DEC Tulip. Here's the relevant section of
modules.conf on the system in question:

 Q> alias eth0 ne
 Q> options eth0 io=0x340
 Q> alias eth1 ne
 Q> options eth1 io=0x320
 Q> alias eth2 ne
 Q> options eth2 io=0x2c0
 Q> alias eth3 ne2k-pci
 Q> alias eth4 ne2k-pci
 Q> alias eth5 tulip

Best wishes from Riley.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 07 2001 - 21:00:33 EST