Go to the documentation of this file.
21 #include <linux/if_ether.h>
31 #define FCPIO_HOST_EXCH_RANGE_START 0x1000
32 #define FCPIO_HOST_EXCH_RANGE_END 0x1fff
33 #define FCPIO_HOST_SEQ_ID_RANGE_START 0x80
34 #define FCPIO_HOST_SEQ_ID_RANGE_END 0xff
151 tag->
u.
ex_id.rx_id = rx_id;
152 tag->
u.
ex_id.ox_id = ox_id;
158 *rx_id = tag->
u.
ex_id.rx_id;
159 *ox_id = tag->
u.
ex_id.ox_id;
196 #define LUN_ADDRESS 8
229 #define FCPIO_ICMND_SRFLAG_RETRY 0x01
234 #define FCPIO_ICMND_PTA_SIMPLE 0
235 #define FCPIO_ICMND_PTA_HEADQ 1
236 #define FCPIO_ICMND_PTA_ORDERED 2
237 #define FCPIO_ICMND_PTA_ACA 4
238 #define FCPIO_ICMND_PRI_SHIFT 3
243 #define FCPIO_ICMND_RDDATA 0x02
244 #define FCPIO_ICMND_WRDATA 0x01
324 #define FCPIO_TDATA_SCSI_RSP 0x01
361 #define FCPIO_TRSP_RESID_UNDER 0x08
362 #define FCPIO_TRSP_RESID_OVER 0x04
459 #define FCPIO_HOST_REQ_LEN 128
513 #define FCPIO_ICMND_CMPL_RESID_UNDER 0x08
514 #define FCPIO_ICMND_CMPL_RESID_OVER 0x04
546 #define FCPIO_TCMND_PTA_SIMPLE 0
547 #define FCPIO_TCMND_PTA_HEADQ 1
548 #define FCPIO_TCMND_PTA_ORDERED 2
549 #define FCPIO_TCMND_PTA_ACA 4
550 #define FCPIO_TCMND_PRI_SHIFT 3
555 #define FCPIO_TCMND_RDDATA 0x02
556 #define FCPIO_TCMND_WRDATA 0x01
605 #define FCPIO_TTMF_CLR_ACA 0x40
606 #define FCPIO_TTMF_LUN_RESET 0x10
607 #define FCPIO_TTMF_CLR_TASK_SET 0x04
608 #define FCPIO_TTMF_ABT_TASK_SET 0x02
609 #define FCPIO_TTMF_ABT_TASK 0x01
683 #define FCPIO_FW_REQ_LEN 64
742 static inline void fcpio_color_dec(
struct fcpio_fw_req *fw_req,
u8 *color)
763 #define FCPIO_LUNMAP_TABLE_SIZE 256
764 #define FCPIO_FLAGS_LUNMAP_VALID 0x80
765 #define FCPIO_FLAGS_BOOT 0x01