summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2017-08-01 13:00:13 +0000
committermav <mav@FreeBSD.org>2017-08-01 13:00:13 +0000
commitd0a1d8b282b2efcf5d5f4784226a8bbe01422aa8 (patch)
tree0f3fa6c94ec10651bd55c2e187598303f1ee04a6
parent9809657655b2ab60b65e983045196701a9c18c46 (diff)
downloadFreeBSD-src-d0a1d8b282b2efcf5d5f4784226a8bbe01422aa8.zip
FreeBSD-src-d0a1d8b282b2efcf5d5f4784226a8bbe01422aa8.tar.gz
MFC r320575: Move comment respecting previous commit.
-rw-r--r--sys/dev/isp/isp.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/sys/dev/isp/isp.c b/sys/dev/isp/isp.c
index d8eeb69..7ebc03a 100644
--- a/sys/dev/isp/isp.c
+++ b/sys/dev/isp/isp.c
@@ -3401,19 +3401,6 @@ abort:
return (0);
}
-/*
- * Scan the fabric for devices and add them to our port database.
- *
- * Use the GID_FT command to get all Port IDs for FC4 SCSI devices it knows.
- *
- * For 2100-23XX cards, we use the SNS mailbox command to pass simple name
- * server commands to the switch management server via the QLogic f/w.
- *
- * For the 24XX and above card, we use CT Pass-through IOCB.
- */
-#define GIDLEN ISP_FC_SCRLEN
-#define NGENT ((GIDLEN - 16) >> 2)
-
static int
isp_ct_sns(ispsoftc_t *isp, int chan, uint32_t cmd_bcnt, uint32_t rsp_bcnt)
{
@@ -3520,6 +3507,19 @@ isp_ct_passthru(ispsoftc_t *isp, int chan, uint32_t cmd_bcnt, uint32_t rsp_bcnt)
return (0);
}
+/*
+ * Scan the fabric for devices and add them to our port database.
+ *
+ * Use the GID_FT command to get all Port IDs for FC4 SCSI devices it knows.
+ *
+ * For 2100-23XX cards, we use the SNS mailbox command to pass simple name
+ * server commands to the switch management server via the QLogic f/w.
+ *
+ * For the 24XX and above card, we use CT Pass-through IOCB.
+ */
+#define GIDLEN ISP_FC_SCRLEN
+#define NGENT ((GIDLEN - 16) >> 2)
+
static int
isp_gid_ft(ispsoftc_t *isp, int chan)
{
OpenPOWER on IntegriCloud