As Matthew Jacob wrote ...

> Yes. The Solaris drivers use the 'localetheraddr' function, or's in 1<<60
> and then HBA instance # << 48 to make a NAA_IEEE port identifier.
> 
> > 
> > The main issue, I think, is that of persistence.  How persistent do  
> > you want it?  I'd bet that no matter what source you use, there's  
> > always the problem of "it broke; I had to replace it; now what?".   
> > Kind of like your grandfather's axe, which has had six handles and  
> > two blades over its lifetime, but it's still your grandfather's axe.   
> 
> I want it to persist until it's changed. Change doesn't mean a reboot.
> 
> The practical side of this problem, which is a relatively trivial problem,
> is to supply a consistent node WWN for fibre channel adapters that don't
> have an assigned WWN in NVRAM. This only needs to be persistent across
> reboots when I finish implementing the target mode code- a WWN identifying
> a system as a 'device' needs to persist until told to change.

FYI: The Compaq HSG80 Fibrechannel RAID controllers have their 
WWN in NVRAM. One is supposed to get the WWN from a label on the *cabinet*
into the HSG controller. This allows for easy hardware swap in case of
hardware grief.

--
|   / o / /  _           Arnhem, The Netherlands        - Powered by FreeBSD -
|/|/ / / /( (_) Bulte    WWW  : http://www.tcja.nl      http://www.freebsd.org


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to