summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2006-08-14 05:35:41 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2006-08-14 05:35:41 +0000
commit6322f5abb724a48aceec8aec2a37720dafa18ac5 (patch)
treeca0ebf3040e6c96c8d2463c9be459aea679b5199 /sys
parent4f74b4e080cd48adb1d18e58fc94a740128a452e (diff)
downloadsrc-test2-6322f5abb724a48aceec8aec2a37720dafa18ac5.tar.gz
src-test2-6322f5abb724a48aceec8aec2a37720dafa18ac5.zip
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/isp/ispvar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/isp/ispvar.h b/sys/dev/isp/ispvar.h
index 59a7cd0d670c..5ea8e8a7c415 100644
--- a/sys/dev/isp/ispvar.h
+++ b/sys/dev/isp/ispvar.h
@@ -557,7 +557,8 @@ struct ispsoftc {
#define IS_FC(isp) ((isp)->isp_type & ISP_HA_FC)
#define IS_2100(isp) ((isp)->isp_type == ISP_HA_FC_2100)
#define IS_2200(isp) ((isp)->isp_type == ISP_HA_FC_2200)
-#define IS_23XX(isp) ((isp)->isp_type >= ISP_HA_FC_2300)
+#define IS_23XX(isp) \
+ ((isp)->isp_type >= ISP_HA_FC_2300 && (isp)->isp_type < ISP_HA_FC_2400)
#define IS_2300(isp) ((isp)->isp_type == ISP_HA_FC_2300)
#define IS_2312(isp) ((isp)->isp_type == ISP_HA_FC_2312)
#define IS_2322(isp) ((isp)->isp_type == ISP_HA_FC_2322)