Re: Initialization order of PCI devices

From: James Sutherland (jas88@cam.ac.uk)
Date: Tue May 23 2000 - 18:28:05 EST


On Tue, 23 May 2000, David Woodhouse wrote:

> To be honest, I don't think any of it's necessary in the kernel.
> The initial device ordering isn't non-deterministic, so it should suffice to
> simply work out which eth%d you have to pass to the kernel on the command
> line to get it to work nicely on your network. Perhaps you may have to
> recalculate that each time you change your BIOS/kernel, but it's not going
> to change very often.
>
> Heuristics for changing the device names from userspace later are a
> different issue, and MAC addresses, although not universally unique, are a
> sensible option for allowing a sysadmin to number their interfaces.

Specifying "eth%d" sounds like a reasonable approach. MAC addresses won't
work in quite a few circumstances; I would try to avoid having a system of
"On these platforms, identify NICs by MAC address; on other platforms, use
<thing>".

James.

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



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:25 EST