dev = targ->devices[lun]; 
dev = targ->sdev[lun]; 
ahd_dump_target_state(struct ahd_softc *ahd, struct info_str *info,		      u_int our_id, char channel, u_int target_id,		      u_int target_offset){	struct	ahd_linux_target *targ;	struct	ahd_initiator_tinfo *tinfo;	struct	ahd_tmode_tstate *tstate;	int	lun;	tinfo = ahd_fetch_transinfo(ahd, channel, our_id,				    target_id, &tstate);	copy_info(info, "Target %d Negotiation Settings\n", target_id);	copy_info(info, "\tUser: ");	ahd_format_transinfo(info, &tinfo->user);	targ = ahd->platform_data->targets[target_offset];	if (targ == NULL)		return;	copy_info(info, "\tGoal: ");	ahd_format_transinfo(info, &tinfo->goal);	copy_info(info, "\tCurr: ");	ahd_format_transinfo(info, &tinfo->curr);	copy_info(info, "\tTransmission Errors %ld\n", targ->errors_detected);	for (lun = 0; lun < AHD_NUM_LUNS; lun++) {		struct ahd_linux_device *dev;		dev = targ->devices[lun];		if (dev == NULL)			continue;		ahd_dump_device_state(info, dev);	}}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/73a25462100772b72a5d62fd66dff01b53018618/aic79xx_proc.c/buggy/drivers/scsi/aic7xxx/aic79xx_proc.c