Writing Device Drivers

HBA Additions to the State Structure

This chapter adds the following fields to the state structure. See "Software State Structure" for more information.

		scsi_hba_tran_t			*isp_tran;
 	dev_info_t					*isp_dip;
 	ddi_iblock_cookie_t		isp_iblock;
 	int							isp_target_scsi_options[N_ISP_TARGETS_WIDE];
 	int							isp_scsi_tag_age_limit;
 	u_int							isp_scsi_reset_delay;
 	u_short						isp_cap[N_ISP_TARGETS_WIDE];
 	u_short						isp_synch[N_ISP_TARGETS_WIDE];

 	struct ispregs				*isp_reg;
 	ddi_acc_handle_t			isp_acc_handle;