What determines ethernet order?

B. James Phillippe (bryan@terran.org)
Tue, 7 Jul 1998 17:55:07 -0700 (PDT)


I'm struggling with a few PCI problems I've run into lately on a
couple motherboards. My understanding has been that Linux(-2.0) uses the
PCI BIOS to determine what PCI cards are present, and the order of cards
present is by physical slot order. Then, when a PCI ethernet driver wants
to initialize multiple PCI NIC's, they are initialized in that same
physical slot order (since the driver just walks down the list from start
to end). However, I have recently witnessed the slot order change out from
under me on a few of the motherboards I'm testing, and that seems to knock
a big hole in my understanding. :) Can anyone offer me an explanation of
how PCI ethernet drivers order the NIC's (logically; eth0, eth1, so forth)?
I would be very appreciative!


B. James Phillippe <bryan@terran.org>
Linux Software Engineer, WGT Inc.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu