propagate role of device for ISP_GET_PDBINFO

This commit is contained in:
Matt Jacob 2006-02-26 22:40:56 +00:00
parent cc06b755fe
commit c6435ff3dd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156040

View File

@ -351,6 +351,7 @@ ispioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flags, struct thread *t
ISP_LOCK(isp);
lp = &FCPARAM(isp)->portdb[ifc->loopid];
if (lp->valid) {
ifc->role = lp->roles;
ifc->loopid = lp->loopid;
ifc->portid = lp->portid;
ifc->node_wwn = lp->node_wwn;