Re: generating a Linux WWN?

David Miller
2007-10-05T22:49:02Z

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.

We have code which does this in some of the qlogic FC drivers
already.