Report correct active vs. nvram node/port WWNs in an ioctl.

This commit is contained in:
Matt Jacob 2003-09-13 01:56:24 +00:00
parent 28f0575cf1
commit fd6eb9f769

View File

@ -399,8 +399,10 @@ ispioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct thread *td)
hba->fc_scsi_supported = 1;
hba->fc_topology = FCPARAM(isp)->isp_topo + 1;
hba->fc_loopid = FCPARAM(isp)->isp_loopid;
hba->active_node_wwn = FCPARAM(isp)->isp_nodewwn;
hba->active_port_wwn = FCPARAM(isp)->isp_portwwn;
hba->nvram_node_wwn = FCPARAM(isp)->isp_nodewwn;
hba->nvram_port_wwn = FCPARAM(isp)->isp_portwwn;
hba->active_node_wwn = ISP_NODEWWN(isp);
hba->active_port_wwn = ISP_PORTWWN(isp);
ISP_UNLOCK(isp);
retval = 0;
break;