summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp/ispmbox.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-11-19 17:43:47 +0000
committermav <mav@FreeBSD.org>2015-11-19 17:43:47 +0000
commitb481f11ed775ccc4efce51270e50ac3313b3dab6 (patch)
tree916524cd1c957c9cdc29863449d242e0cfa271c3 /sys/dev/isp/ispmbox.h
parent8f5fbeccf67f2d0df709d03155c4b136147591a0 (diff)
downloadFreeBSD-src-b481f11ed775ccc4efce51270e50ac3313b3dab6.zip
FreeBSD-src-b481f11ed775ccc4efce51270e50ac3313b3dab6.tar.gz
Another round of port scanner rewrite.
This change simplifies and unifies port adding/updating for loop and fabric scanners. It also fixes problems with scanning restarts due to concurrent port databases changes. It also fixes many cosmetic issues.
Diffstat (limited to 'sys/dev/isp/ispmbox.h')
-rw-r--r--sys/dev/isp/ispmbox.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/dev/isp/ispmbox.h b/sys/dev/isp/ispmbox.h
index b0d74a6..a133773 100644
--- a/sys/dev/isp/ispmbox.h
+++ b/sys/dev/isp/ispmbox.h
@@ -167,12 +167,13 @@
#define MBGSD_GET_RATE 0
#define MBGSD_SET_RATE 1
#define MBGSD_SET_RATE_NOW 2 /* 24XX only */
-#define MBGSD_ONEGB 0
-#define MBGSD_TWOGB 1
-#define MBGSD_AUTO 2
-#define MBGSD_FOURGB 3 /* 24XX only */
-#define MBGSD_EIGHTGB 4 /* 25XX only */
-
+#define MBGSD_1GB 0x00
+#define MBGSD_2GB 0x01
+#define MBGSD_AUTO 0x02
+#define MBGSD_4GB 0x03 /* 24XX only */
+#define MBGSD_8GB 0x04 /* 25XX only */
+#define MBGSD_16GB 0x05 /* 26XX only */
+#define MBGSD_10GB 0x13 /* 26XX only */
#define ISP2100_SET_PCI_PARAM 0x00ff
OpenPOWER on IntegriCloud