Lines Matching defs:amd_softc
196 struct amd_softc { struct
197 device_t dev;
198 bus_space_tag_t tag;
199 bus_space_handle_t bsh;
200 bus_dma_tag_t buffer_dmat; /* dmat for buffer I/O */
201 int unit;
203 int last_phase;
204 int cur_target;
205 int cur_lun;
206 struct amd_srb *active_srb;
207 struct amd_srb *untagged_srbs[AMD_TARGET_MAX+1][AMD_LUN_MAX+1];
208 struct amd_target_info tinfo[AMD_TARGET_MAX+1];
209 u_int16_t disc_count[AMD_TARGET_MAX+1][AMD_LUN_MAX+1];
211 struct srb_queue free_srbs;
212 struct srb_queue waiting_srbs;
213 struct srb_queue running_srbs;
215 struct amd_srb *pTmpSRB;
217 u_int16_t SRBCount;
219 u_int16_t max_id;
220 u_int16_t max_lun;
223 struct cam_sim *psim;
224 struct cam_path *ppath;
226 u_int8_t msgin_buf[6];
227 u_int8_t msgout_buf[6];
228 u_int msgin_index;
229 u_int msgout_index;
230 u_int msgout_len;
232 u_int8_t status;
233 u_int8_t AdaptSCSIID; /* ; Adapter SCSI Target ID */
234 u_int8_t AdaptSCSILUN; /* ; Adapter SCSI LUN */
236 u_int8_t ACBFlag;
238 u_int8_t Gmode2;
240 u_int8_t HostID_Bit;
242 u_int8_t InitDCB_flag[8][8]; /* flag of initDCB for device */
243 struct amd_srb SRB_array[MAX_SRB_CNT]; /* +45Ch, Len= */
244 struct amd_srb TmpSRB;
246 u_int8_t eepromBuf[EE_DATA_SIZE];