Messages in this thread | | | Date | Mon, 19 May 2003 13:40:31 +1000 | From | Anton Blanchard <> | Subject | Re: Naming devices |
| |
> Isn't this what dev->bus_id in the device structure is supposed to be? > (which is supposed to be a unique bus ID on a particular bus type, in > the pci case, a PCI device.)
We could use that, although for ppc64 Id like to increase its size and stash the physical location in there as well.
> Now that the point has been raised, it seems pretty obvious that > initialisation failures should report the BUS ID of the failing card, > not the logical name assigned by the system to that device which could > change. Once the card is up and running, using the logical name becomes > meaningful - it's the identifier which user space uses to reference the > device.
Sounds good to me.
Anton - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |