aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/isp/ispvar.h
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2006-12-05 07:50:23 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2006-12-05 07:50:23 +0000
commitdd9fc7c319e37b65ae5c7bce59bfceb97271dd35 (patch)
tree27cef08b488d4e998c16b3d85ada1143a225a96a /sys/dev/isp/ispvar.h
parent351c7054ea18b0e4a52e06f5e83ab2dc8b0093df (diff)
downloadsrc-dd9fc7c319e37b65ae5c7bce59bfceb97271dd35.tar.gz
src-dd9fc7c319e37b65ae5c7bce59bfceb97271dd35.zip
Make ISPCTL_PLOGX find a handle to log into the management server
with- not hope for the best. Change some things which were gated off of 24XX to be gated off of 2K login support. Convert some isp_prt calls to xpt_print calls.
Notes
Notes: svn path=/head/; revision=164909
Diffstat (limited to 'sys/dev/isp/ispvar.h')
-rw-r--r--sys/dev/isp/ispvar.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/dev/isp/ispvar.h b/sys/dev/isp/ispvar.h
index e79c5254e981..a5d7a98cbda5 100644
--- a/sys/dev/isp/ispvar.h
+++ b/sys/dev/isp/ispvar.h
@@ -228,17 +228,22 @@ typedef struct {
/*
* Fibre Channel Specifics
*/
-/* These are for 2100/2200/2300 cards */
+/* These are for non-2K Login Firmware cards */
#define FL_ID 0x7e /* FL_Port Special ID */
#define SNS_ID 0x80 /* SNS Server Special ID */
#define NPH_MAX 0xfe
-/* These are for 24XX cards */
+/* These are for 2K Login Firmware cards */
#define NPH_RESERVED 0x7F0 /* begin of reserved N-port handles */
#define NPH_MGT_ID 0x7FA /* Management Server Special ID */
#define NPH_SNS_ID 0x7FC /* SNS Server Special ID */
#define NPH_FL_ID 0x7FE /* FL Port Special ID */
-#define NPH_MAX_24XX 0x800
+#define NPH_MAX_2K 0x800
+
+/*
+ * "Unassigned" handle to be used internally
+ */
+#define NIL_HANDLE 0xffff
/*
* Limit for devices on an arbitrated loop.