This procedure describes how to determine and change the operating protocol mode of the universal HBA using the FCode utility on Oracle SPARC systems.
{0} ok show-disks a) /pci@400/pci@2/pci@0/pci@f/pci@0/usb@0,2/hub@2/hub@3/storage@2/disk b) /pci@400/pci@2/pci@0/pci@4/SUNW,qlc@0,1/fp@0,0/disk c) /pci@400/pci@1/pci@0/pci@4/SUNW,qlc@0/fp@0,0/disk d) /pci@400/pci@1/pci@0/pci@0/pci@0/usb@0,2/hub@3/storage@2/disk e) /iscsi-hba/disk q) NO SELECTION
Depending on what you select, you might see ouput similar to one of the following examples.
{0} ok select /pci@400/pci@1/pci@0/pci@4/SUNW,qlc@0 QLogic QLE8362 FC Host Adapter FCode(SPARC): 4.02b1 2012-06-25 08:51 ISP Firmware version 6.00.12
{0} ok select /pci@400/pci@2/pci@0/pci@4/SUNW,qlc@0 7101674, Sun Storage 16Gb FC PCIe Universal HBA, QLogic 7023303 ISP Firmware version 6.06.02
The following example shows the mode being changed (in this case, from FC to CNA):
{0} ok set-personality Current Personality : FC Do you want to change it? (y/n) y Choose Personality : 0 - FC 1 - CNA enter: 1 . {0} ok reset-all