summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp/isp_library.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-11-30 21:38:51 +0000
committermav <mav@FreeBSD.org>2015-11-30 21:38:51 +0000
commit085e8845c7eb1a1e7211b9be285269a9e9203958 (patch)
tree56848a8e5d6de2c509bd50b3b098a500e721ed44 /sys/dev/isp/isp_library.c
parent751eec2ece6401e2c3344eba5e903ada596a2c4a (diff)
downloadFreeBSD-src-085e8845c7eb1a1e7211b9be285269a9e9203958.zip
FreeBSD-src-085e8845c7eb1a1e7211b9be285269a9e9203958.tar.gz
MFC r291013: Remove some confusions between loopid and nphdl.
Modern cards in most cases operate abstract port handles, that have no any relation to real loop IDs. Leave loopid used only where it really goes about local loop IDs. While there, fix few more cases where LUNs were still printed in decimal.
Diffstat (limited to 'sys/dev/isp/isp_library.c')
-rw-r--r--sys/dev/isp/isp_library.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/isp/isp_library.c b/sys/dev/isp/isp_library.c
index 934295e..43e3510 100644
--- a/sys/dev/isp/isp_library.c
+++ b/sys/dev/isp/isp_library.c
@@ -2483,7 +2483,7 @@ isp_find_pdb_by_wwn(ispsoftc_t *isp, int chan, uint64_t wwn, fcportdb_t **lptr)
#ifdef ISP_TARGET_MODE
int
-isp_find_pdb_by_handle(ispsoftc_t *isp, int chan, uint32_t handle, fcportdb_t **lptr)
+isp_find_pdb_by_handle(ispsoftc_t *isp, int chan, uint16_t handle, fcportdb_t **lptr)
{
fcparam *fcp;
int i;
OpenPOWER on IntegriCloud