Wait(port, TO_5ms); 
FPT_Wait(port, TO_5ms); 
void sresb(ULONG port, UCHAR p_card)#endif{   UCHAR scsiID, i;   PSCCBMgr_tar_info currTar_Info;   WR_HARPOON(port+hp_page_ctrl,      (RD_HARPOON(port+hp_page_ctrl) | G_INT_DISABLE));   WRW_HARPOON((port+hp_intstat), CLR_ALL_INT);   WR_HARPOON(port+hp_scsictrl_0, SCSI_RST);   scsiID = RD_HARPOON(port+hp_seltimeout);   WR_HARPOON(port+hp_seltimeout,TO_5ms);   WRW_HARPOON((port+hp_intstat), TIMEOUT);   WR_HARPOON(port+hp_portctrl_0,(SCSI_PORT | START_TO));   while (!(RDW_HARPOON((port+hp_intstat)) & TIMEOUT)) {}   WR_HARPOON(port+hp_seltimeout,scsiID);   WR_HARPOON(port+hp_scsictrl_0, ENA_SCAM_SEL);   Wait(port, TO_5ms);   WRW_HARPOON((port+hp_intstat), CLR_ALL_INT);   WR_HARPOON(port+hp_int_mask, (RD_HARPOON(port+hp_int_mask) | 0x00));   for (scsiID = 0; scsiID < MAX_SCSI_TAR; scsiID++)      {      currTar_Info = &sccbMgrTbl[p_card][scsiID];      if (currTar_Info->TarEEValue & EE_SYNC_MASK)         {	      	currTar_Info->TarSyncCtrl = 0;	      	currTar_Info->TarStatus &= ~TAR_SYNC_MASK;	      }      if (currTar_Info->TarEEValue & EE_WIDE_SCSI)         {      	currTar_Info->TarStatus &= ~TAR_WIDE_MASK;      	}      sssyncv(port, scsiID, NARROW_SCSI,currTar_Info);      SccbMgrTableInitTarget(p_card, scsiID);      }   BL_Card[p_card].scanIndex = 0x00;   BL_Card[p_card].currentSCCB = NULL;   BL_Card[p_card].globalFlags &= ~(F_TAG_STARTED | F_HOST_XFER_ACT 													| F_NEW_SCCB_CMD);   BL_Card[p_card].cmdCounter  = 0x00;	BL_Card[p_card].discQCount = 0x00;   BL_Card[p_card].tagQ_Lst = 0x01; 	for(i = 0; i < QUEUE_DEPTH; i++)		BL_Card[p_card].discQ_Tbl[i] = NULL;   WR_HARPOON(port+hp_page_ctrl,      (RD_HARPOON(port+hp_page_ctrl) & ~G_INT_DISABLE));}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/47b5d69c4aa753fcfc9b2b8d28c0660a1e25c129/FlashPoint.c/buggy/drivers/scsi/FlashPoint.c