diff options
| author | Alexander Motin <mav@FreeBSD.org> | 2017-03-19 09:36:43 +0000 |
|---|---|---|
| committer | Alexander Motin <mav@FreeBSD.org> | 2017-03-19 09:36:43 +0000 |
| commit | a41dd87f61a6ae85e1ec4e0c9156bbdc57791a05 (patch) | |
| tree | 9a1ea3e5cfe021bc2ba76eb5da70739865d81fc9 /sys/dev/isp | |
| parent | 5a5632c2de18c42a1eb6f7a7fb790419b81d801d (diff) | |
Notes
Diffstat (limited to 'sys/dev/isp')
| -rw-r--r-- | sys/dev/isp/isp_target.h | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/sys/dev/isp/isp_target.h b/sys/dev/isp/isp_target.h index d949a673a99a..14945642cd63 100644 --- a/sys/dev/isp/isp_target.h +++ b/sys/dev/isp/isp_target.h @@ -59,30 +59,19 @@ typedef enum { typedef struct isp_notify { void * nt_hba; /* HBA tag */ - void * nt_tmd; - void * nt_lreserved; - void * nt_hreserved; + void * nt_lreserved; /* original IOCB pointer */ uint64_t nt_wwn; /* source (wwn) */ uint64_t nt_tgt; /* destination (wwn) */ uint64_t nt_tagval; /* tag value */ lun_id_t nt_lun; /* logical unit */ - uint32_t - nt_sid : 24; /* source port id */ - uint32_t - nt_failed : 1, /* notify operation failed */ - nt_need_ack : 1, /* this notify needs an ACK */ - nt_did : 24; /* destination port id */ + uint32_t nt_sid : 24; /* source port id */ + uint32_t nt_did : 24; /* destination port id */ uint16_t nt_nphdl; /* n-port handle */ uint8_t nt_channel; /* channel id */ + uint8_t nt_need_ack; /* this notify needs an ACK */ isp_ncode_t nt_ncode; /* action */ } isp_notify_t; -#define MATCH_TMD(tmd, iid, lun, tag) \ - ( \ - (tmd) && \ - (iid == INI_ANY || iid == tmd->cd_iid) && \ - (lun == LUN_ANY || lun == tmd->cd_lun) && \ - (tag == TAG_ANY || tag == tmd->cd_tagval) \ - ) + /* * Debug macros */ |
