In what order are devices enumerated?

Riley Williams rhw en MemAlpha.CX
Dom Ene 23 00:23:00 CST 2000


Hi there.

 >> I have a box with three same ethernet cards and want to know
 >> what names will be assigned to them. I mean, I know the names,
 >> but how can I relate their names with actual slots

 > There are no way without MB docs.

Even that may not be enough.

 >> or at least interrupt numbers?

 > Most drivers will show you such informationon at load time. You
 > can try to see it in dmesg log.

I have one system with three IDENTICAL RealTek 8029 ethernet cards,
and it doesn't matter which PCI slots I put the cards in, the same
card gets selected as eth0 each time. As far as I can work out, the
BIOS on that card is assigning the cards their ports, etc, based on
their MAC address (at least, the one with the highest MAC address
always ends up as eth0 and they go in descending MAC address, no
matter what order I plug them in).

This sounds stupid to me, but probably the simplest way to track down
what's going on is to label each card with its MAC address, then try
rearranging them and see what `ifconfig` reports as the assignment
order.

Best wishes from Riley.

 * Copyright (C) 1999, Memory Alpha Systems.
 * All rights and wrongs reserved.

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux  |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch.   |
+----------------------------------------------------------------------+
 * http://www.memalpha.cx/Linux/Kernel/


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



Más información sobre la lista de distribución Ayuda