aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/isp
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2017-07-02 15:08:32 +0000
committerAlexander Motin <mav@FreeBSD.org>2017-07-02 15:08:32 +0000
commit9cf87855b186f616b1d4dd732d8b17f3f2177b67 (patch)
tree3581b81a998bf68fc4f91ca1225298a37bfbd1b0 /sys/dev/isp
parent3d792e6080306d6f546701c574e53c22a6925d78 (diff)
downloadsrc-9cf87855b186f616b1d4dd732d8b17f3f2177b67.tar.gz
src-9cf87855b186f616b1d4dd732d8b17f3f2177b67.zip
Move comment respecting previous commit.
Notes
Notes: svn path=/head/; revision=320575
Diffstat (limited to 'sys/dev/isp')
-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 26d43c119332..1a5898c39461 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)
{