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

Jim Roland
2001-08-04T04:35:16Z

It's pretty simple. If you have no special options to pass to the module:

alias eth0 modulename
(example for 3C905B-TX: alias eth0 3c90x)

Mark Atwood wrote:

>I'm trying to figure out how "alias ethX" works in /etc/modules.conf
>
>Is it some "magic" in depmod / modprobe? And how is the network
>interface identifier then passed into the module when it loads?
>
>A nice whitepaper or doc or a few pointers or handholding would be
>apprecated.
>