On Thu, 7 Oct 2010 07:23:35 -0700 <Narendra_K@xxxxxxxx> wrote: > Hello, > > V1 -> V2: > > This patch addresses the scenario of buggy firmware/BIOS tables. The > patch introduces a command line parameter 'no_netfwindex', passing which > firmware provided index will not be used to derive 'eth' names. By > default, firmware index will be used and the parameter can be used to > work around buggy firmware/BIOS tables. > > Please find the patch below. > > From: Narendra K <narendra_k@xxxxxxxx> > Subject: [PATCH] Use firmware provided index to register a network device > > This patch uses the firmware provided index to derive the ethN name. > If the firmware provides an index for the corresponding pdev, the N > is derived from the index. > > As an example, consider a PowerEdge R710 which has 4 BCM5709 > Lan-On-Motherboard ports,1 Intel 82572EI port and 4 82575GB ports. > The system firmware communicates the order of the 4 Lan-On-Motherboard > ports by assigning indexes to each one of them. This is available to > the OS as the SMBIOS type 41 record(for onboard devices), in the field > 'device type index'. It looks like below - I agree with Greg. Provide the firmware index in sysfs for use in udev userspace and let udev do the policy on the naming. The firmware index could be missing, wrong, or interesting on only some devices. -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html