Deleted Added
full compact
ispvar.h (291144) ispvar.h (291188)
1/* $FreeBSD: head/sys/dev/isp/ispvar.h 291144 2015-11-21 21:01:00Z mav $ */
1/* $FreeBSD: head/sys/dev/isp/ispvar.h 291188 2015-11-23 10:06:19Z mav $ */
2/*-
3 * Copyright (c) 1997-2009 by Matthew Jacob
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 *

--- 156 unchanged lines hidden (view full) ---

166
167/*
168 * SCSI Specific Host Adapter Parameters- per bus, per target
169 */
170typedef struct {
171 uint32_t : 8,
172 update : 1,
173 sendmarker : 1,
2/*-
3 * Copyright (c) 1997-2009 by Matthew Jacob
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 *

--- 156 unchanged lines hidden (view full) ---

166
167/*
168 * SCSI Specific Host Adapter Parameters- per bus, per target
169 */
170typedef struct {
171 uint32_t : 8,
172 update : 1,
173 sendmarker : 1,
174 role : 2,
175 isp_req_ack_active_neg : 1,
176 isp_data_line_active_neg: 1,
177 isp_cmd_dma_burst_enable: 1,
178 isp_data_dma_burst_enabl: 1,
179 isp_fifo_threshold : 3,
180 isp_ptisp : 1,
181 isp_ultramode : 1,
182 isp_diffmode : 1,

--- 882 unchanged lines hidden (view full) ---

1065 *
1066 * XS_APPEND_SENSE(xs, sp, len) append more sense data
1067 *
1068 * XS_SENSE_VALID(xs) indicates whether sense is valid
1069 *
1070 * DEFAULT_FRAMESIZE(ispsoftc_t *) Default Frame Size
1071 * DEFAULT_EXEC_THROTTLE(ispsoftc_t *) Default Execution Throttle
1072 *
174 isp_req_ack_active_neg : 1,
175 isp_data_line_active_neg: 1,
176 isp_cmd_dma_burst_enable: 1,
177 isp_data_dma_burst_enabl: 1,
178 isp_fifo_threshold : 3,
179 isp_ptisp : 1,
180 isp_ultramode : 1,
181 isp_diffmode : 1,

--- 882 unchanged lines hidden (view full) ---

1064 *
1065 * XS_APPEND_SENSE(xs, sp, len) append more sense data
1066 *
1067 * XS_SENSE_VALID(xs) indicates whether sense is valid
1068 *
1069 * DEFAULT_FRAMESIZE(ispsoftc_t *) Default Frame Size
1070 * DEFAULT_EXEC_THROTTLE(ispsoftc_t *) Default Execution Throttle
1071 *
1073 * GET_DEFAULT_ROLE(ispsoftc_t *, int) Get Default Role for a channel
1074 * SET_DEFAULT_ROLE(ispsoftc_t *, int, int) Set Default Role for a channel
1072 * DEFAULT_ROLE(ispsoftc_t *, int) Get Default Role for a channel
1075 * DEFAULT_IID(ispsoftc_t *, int) Default SCSI initiator ID
1076 * DEFAULT_LOOPID(ispsoftc_t *, int) Default FC Loop ID
1077 *
1078 * These establish reasonable defaults for each platform.
1079 * These must be available independent of card NVRAM and are
1080 * to be used should NVRAM not be readable.
1081 *
1082 * DEFAULT_NODEWWN(ispsoftc_t *, chan) Default FC Node WWN to use

--- 41 unchanged lines hidden (view full) ---

1124int isp_notify_ack(ispsoftc_t *, void *);
1125
1126/*
1127 * This function externalized acknowledging (success/fail) an ABTS frame
1128 */
1129int isp_acknak_abts(ispsoftc_t *, void *, int);
1130
1131/*
1073 * DEFAULT_IID(ispsoftc_t *, int) Default SCSI initiator ID
1074 * DEFAULT_LOOPID(ispsoftc_t *, int) Default FC Loop ID
1075 *
1076 * These establish reasonable defaults for each platform.
1077 * These must be available independent of card NVRAM and are
1078 * to be used should NVRAM not be readable.
1079 *
1080 * DEFAULT_NODEWWN(ispsoftc_t *, chan) Default FC Node WWN to use

--- 41 unchanged lines hidden (view full) ---

1122int isp_notify_ack(ispsoftc_t *, void *);
1123
1124/*
1125 * This function externalized acknowledging (success/fail) an ABTS frame
1126 */
1127int isp_acknak_abts(ispsoftc_t *, void *, int);
1128
1129/*
1132 * Enable/Disable/Modify a logical unit.
1133 * (softc, cmd, bus, tgt, lun, cmd_cnt, inotify_cnt)
1134 */
1135#define DFLT_CMND_CNT 0xff /* unmonitored */
1136#define DFLT_INOT_CNT 0xff /* unmonitored */
1137int isp_lun_cmd(ispsoftc_t *, int, int, int, int, int);
1138
1139/*
1140 * General request queue 'put' routine for target mode entries.
1141 */
1142int isp_target_put_entry(ispsoftc_t *isp, void *);
1143
1144/*
1145 * General routine to put back an ATIO entry-
1146 * used for replenishing f/w resource counts.
1147 * The argument is a pointer to a source ATIO

--- 20 unchanged lines hidden ---
1130 * General request queue 'put' routine for target mode entries.
1131 */
1132int isp_target_put_entry(ispsoftc_t *isp, void *);
1133
1134/*
1135 * General routine to put back an ATIO entry-
1136 * used for replenishing f/w resource counts.
1137 * The argument is a pointer to a source ATIO

--- 20 unchanged lines hidden ---