Re: [RFC PATCH 2/5] OMAP2+: add cpu id register to MAC address helper

From: Andy Green
Date: Fri Mar 18 2011 - 10:48:10 EST


On 03/18/2011 02:37 PM, Somebody in the thread at some point said:

Hi -

[sp] This 'trick' has been tried earlier in u-boot. See:
http://www.mail-archive.com/u-boot@xxxxxxxxxxxxx/msg19915.html

I am also not sure whether DIE_ID would really be unique.

It doesn't actually need all the bits to be unique for this, just have a low probability of collision with a reasonable number of devices sharing the same network.

If there is not enough variation as it stands in the first 6 bytes of it, all the 128 bit ID can be xor'd together, use the other registers about die revision, hawkeye also xored in, etc.

I'll ask about what can be expected from this at TI.

-Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/