diff options
| author | Kenneth D. Merry <ken@FreeBSD.org> | 2017-05-03 13:17:01 +0000 |
|---|---|---|
| committer | Kenneth D. Merry <ken@FreeBSD.org> | 2017-05-03 13:17:01 +0000 |
| commit | 57b6261f94d5b633223299f7b1e12f6ec8275baa (patch) | |
| tree | 6e9f55a6dc8ad861b4f43d2d1332ad11e3d5d784 /sys/dev/isp/ispvar.h | |
| parent | fca08fe6a22dbe2f868bb13f9b62e775a4a57ed0 (diff) | |
Notes
Diffstat (limited to 'sys/dev/isp/ispvar.h')
| -rw-r--r-- | sys/dev/isp/ispvar.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/isp/ispvar.h b/sys/dev/isp/ispvar.h index a19430ca12615..89c132b39875e 100644 --- a/sys/dev/isp/ispvar.h +++ b/sys/dev/isp/ispvar.h @@ -502,6 +502,10 @@ typedef struct { #define TOPO_IS_FABRIC(x) ((x) == TOPO_FL_PORT || (x) == TOPO_F_PORT) +#define FCP_AL_DA_ALL 0xFF +#define FCP_AL_PA(fcp) ((uint8_t)(fcp->isp_portid)) +#define FCP_IS_DEST_ALPD(fcp, alpd) (FCP_AL_PA((fcp)) == FCP_AL_DA_ALL || FCP_AL_PA((fcp)) == alpd) + /* * Soft Structure per host adapter */ |
