CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2020/01/03 01:39:31

Modified files:
        sys/dev/pci    : mpii.c 

Log message:
Fix RAID volume WWIDs for LSI controllers on sparc64

Some controllers generate 128 bit WWIDs for RAID volumes but only has a
64-bit field to report it to the host, so it only puts the
vendor-specified part here (last half of ID string printed when sd*
attaches matches sl->port_wwn in reverse).

As such IDs are not IEEE NAA compliant, OpenBoot PROM -at least on SPARC-
sets the highest nibble to three by convention to mark such volumes as
RAID volumes so that the OS (Solaris) may identify it as such.

This is the last missing piece to make booting off hardware RAID on sparc64
just work;  autoconf(9) is now able to match the port WWN against the
bootpath to eventually identify the volume as the root device.

Feedback jmatthew deraadt
OK jmatthew

Reply via email to