mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-03 23:28:58 +00:00
The macro IS_23XX should not mistakenly include 24XX cards.
This commit is contained in:
parent
4f74b4e080
commit
6322f5abb7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161269
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue