if (SCpnt->device->id != target) { 
if (scmd_id(SCpnt) != target) { 
static int nsp_reselected(Scsi_Cmnd *SCpnt){	unsigned int  base    = SCpnt->device->host->io_port;	unsigned int  host_id = SCpnt->device->host->this_id;	//nsp_hw_data *data = (nsp_hw_data *)SCpnt->device->host->hostdata;	unsigned char bus_reg;	unsigned char id_reg, tmp;	int target;	nsp_dbg(NSP_DEBUG_RESELECTION, "in");	id_reg = nsp_index_read(base, RESELECTID);	tmp    = id_reg & (~BIT(host_id));	target = 0;	while(tmp != 0) {		if (tmp & BIT(0)) {			break;		}		tmp >>= 1;		target++;	}	if (SCpnt->device->id != target) {		nsp_msg(KERN_ERR, "XXX: reselect ID must be %d in this implementation.", target);	}	nsp_negate_signal(SCpnt, BUSMON_SEL, "reselect<SEL>");	nsp_nexus(SCpnt);	bus_reg = nsp_index_read(base, SCSIBUSCTRL) & ~(SCSI_BSY | SCSI_ATN);	nsp_index_write(base, SCSIBUSCTRL, bus_reg);	nsp_index_write(base, SCSIBUSCTRL, bus_reg | AUTODIRECTION | ACKENB);	return TRUE;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/422c0d61d591cbfb70f029e13505fb437e169d68/nsp_cs.c/buggy/drivers/scsi/pcmcia/nsp_cs.c