[plug] Multiple ethernet cards, same driver

John Usher (Maptek) John.Usher at perth.maptek.com.au
Tue Jun 15 23:14:27 WST 2004


-----Original Message----- 
From: plug-bounces at plug.linux.org.au on behalf of Adam Ashley 
Sent: Tue 15/06/2004 10:09 PM 
To: plug at plug.linux.org.au; Russell Steicke 
Cc: 
Subject: Re: [plug] Multiple ethernet cards, same driver



>pci cards are number from 0 up, starting next to the cpu/agp slot. the
>kernel and its drivers initialise cards from slot 0 working their way up
>
>Adam

yeah. it will follow the pci bus device enumeration, which will always be in a consistent direction. However I have generally found that the same cards are picked up furthest from the AGP first, working towards the AGP, although I am not sure there are any hard and fast rules for the direction of the addresses. 

PCI card addresses ('device no') typically start at 0x4X as devices such as your north/south bridges, and other onboard devices have fixed addresses from the manufacturer.

ioports etc should never need to be specified for a PCI device as the BIOS should configure the address space/io space mappings of the devices, and these addresses are then read from the PCI configuration registers when Linux does its PCI bus enumeration. (ie don't tell me what addresses to use, I'm going to tell you ;-))

Disabling junk like kudzu is always a good idea though. And you can also have the case of, say, eth0 dying and a reboot turning the old eth1 into eth0. In a situation where this is important you might need to check your MAC addresses, as Bernd states, and have floating eths.

Hmmm.... can you alias an ethX to a completely different name? That would be useful.... something like ifalias eth0 ethinet. ifalias eth1 ethlocal. something like that...

...John...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20040615/391cc8f3/attachment.html>


More information about the plug mailing list