Re: generating a Linux WWN?

Jeff Garzik
2007-10-05T22:52:22Z

David Miller wrote:
> From: Jeff Garzik <jeff@garzik.org>
> Date: Fri, 05 Oct 2007 18:41:40 -0400
>
>> And that's been my plan from day one... which is remarkably a lot like
>> the behavior of several net drivers. :)
>>
>> * attempt to read WWN during module load
>> * admin may optionally choose to manually specify OR auto-generate a WWN
>> * fail, if no WWN [stating the obvious]
>
> And like with networking cases, we have situations where a platform
> might be able to assist.
>
> There are several systems that provide a "system MAC address"
> to use when you can't obtain one for a specific device. This
> valus is provided via a firmware property.
>
> Similarly, we could ask an interface that goes to platform to
> ask them for a WWN.

Good point -- I bet I will run into this when I get a Broadcom HT-1100
test system, which is the on-board version of the board supported by my
new 'broadsas' driver.

Jeff