On Monday 22 March 2010 23:19:54 Larry Finger wrote:
> On 03/22/2010 04:55 PM, Michael Buesch wrote:
> > 
> > I don't see a problem for udev to distinguish the cards. It can do it 
> > merely on
> > the bus-ID. That's unique. Yeah, it might change if you change the hardware.
> > But do we care? I say no, because you cannot actually change the hardware 
> > in real life
> > for any of these devices. And even if you could reorder the devices on the 
> > bus or whatever.
> > What would happen? The card would get a new MAC address. That's all. That's 
> > acceptable.
> > 
> > The kernel would (for example) just set the mac address to all-ones. Udev 
> > would
> > notice this (invalid) mac address and reassign a new persistent one to the 
> > device. It then
> > stores the address on the harddisk.
> 
> What ensures that this persistent name would be unique?

The same mechanism that ensures that an UUID is unique: A good random number 
generator.

> > In fact, if we implement a mechanism in the kernel, we have _exactly_ the 
> > same problem.
> > However, currently Larry's patches just ignore that problem and assume that 
> > there's only
> > one card in the system anyway.
> 
> As I said in a posting a few minutes ago, that problem is solved.

Well. You distinguish by bus-ID, right? That's exactly the thing that udev does.

-- 
Greetings, Michael.
_______________________________________________
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to