I have a hba card with two ports (port 0) and (port 1) and I want to know how can obtaining using OS the info to mapping the wwn that I can see using fcinfo hba-port command to a port of the hba card.
For example: If I have a WWN ending on xxxx890B, see that wwn is on port 0 of the hba card.
scanpci -vshow the WWN? (scanpciis probably in/usr/X11/bin) I don't have access to a Solaris instance with any HBAs right now to know for sure.