diff options
author | Alexander Motin <mav@FreeBSD.org> | 2017-03-24 16:26:11 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2017-03-24 16:26:11 +0000 |
commit | 00be964c0876bfda267f8e175d84b34065249f89 (patch) | |
tree | 0b18b85a329cc4234e3614bf0c3aee503720069d /sys/dev/isp/ispmbox.h | |
parent | 92bb425e4e5f0cd85afd8c2ebb15a47f74a136bf (diff) |
Notes
Diffstat (limited to 'sys/dev/isp/ispmbox.h')
-rw-r--r-- | sys/dev/isp/ispmbox.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/isp/ispmbox.h b/sys/dev/isp/ispmbox.h index e929e86e10ec3..f672b429b59f9 100644 --- a/sys/dev/isp/ispmbox.h +++ b/sys/dev/isp/ispmbox.h @@ -1207,7 +1207,7 @@ typedef struct { #define ICB2400_VPINFO_OFF 0x80 /* offset from start of ICB */ #define ICB2400_VPINFO_PORT_OFF(chan) \ (ICB2400_VPINFO_OFF + \ - sizeof (isp_icb_2400_vpinfo_t) + (chan * ICB2400_VPOPT_WRITE_SIZE)) + sizeof (isp_icb_2400_vpinfo_t) + ((chan) * ICB2400_VPOPT_WRITE_SIZE)) #define ICB2400_VPGOPT_FCA 0x01 /* Assume Clean Address bit in FLOGI ACC set (works only in static configurations) */ #define ICB2400_VPGOPT_MID_DISABLE 0x02 /* when set, connection mode2 will work with NPIV-capable switched */ |