sync_msg = sfm(port,currSCCB); 
sync_msg = FPT_sfm(port,currSCCB); 
void stsyncn(ULONG port, UCHAR p_card)#endif{   UCHAR sync_msg,offset,sync_reg,our_sync_msg;   PSCCB currSCCB;   PSCCBMgr_tar_info currTar_Info;   currSCCB = BL_Card[p_card].currentSCCB;   currTar_Info = &sccbMgrTbl[p_card][currSCCB->TargID];   sync_msg = sfm(port,currSCCB);	if((sync_msg == 0x00) && (currSCCB->Sccb_scsimsg == SMPARITY))	{		WR_HARPOON(port+hp_autostart_1, (AUTO_IMMED+DISCONNECT_START));		return;	}   ACCEPT_MSG(port);   offset = sfm(port,currSCCB);	if((offset == 0x00) && (currSCCB->Sccb_scsimsg == SMPARITY))	{		WR_HARPOON(port+hp_autostart_1, (AUTO_IMMED+DISCONNECT_START));		return;	}   if ((currTar_Info->TarEEValue & EE_SYNC_MASK) == EE_SYNC_20MB)      our_sync_msg = 12;              /* Setup our Message to 20mb/s */   else if ((currTar_Info->TarEEValue & EE_SYNC_MASK) == EE_SYNC_10MB)      our_sync_msg = 25;              /* Setup our Message to 10mb/s */   else if ((currTar_Info->TarEEValue & EE_SYNC_MASK) == EE_SYNC_5MB)      our_sync_msg = 50;              /* Setup our Message to 5mb/s */   else      our_sync_msg = 0;               /* Message = Async */   if (sync_msg < our_sync_msg) {      sync_msg = our_sync_msg;    /*if faster, then set to max. */      }   if (offset == ASYNC)      sync_msg = ASYNC;   if (offset > MAX_OFFSET)      offset = MAX_OFFSET;   sync_reg = 0x00;   if (sync_msg > 12)      sync_reg = 0x20;        /* Use 10MB/s */   if (sync_msg > 25)      sync_reg = 0x40;        /* Use 6.6MB/s */   if (sync_msg > 38)      sync_reg = 0x60;        /* Use 5MB/s */   if (sync_msg > 50)      sync_reg = 0x80;        /* Use 4MB/s */   if (sync_msg > 62)      sync_reg = 0xA0;        /* Use 3.33MB/s */   if (sync_msg > 75)      sync_reg = 0xC0;        /* Use 2.85MB/s */   if (sync_msg > 87)      sync_reg = 0xE0;        /* Use 2.5MB/s */   if (sync_msg > 100) {      sync_reg = 0x00;        /* Use ASYNC */      offset = 0x00;      }#if defined(WIDE_SCSI)   if (currTar_Info->TarStatus & WIDE_ENABLED)      sync_reg |= offset;   else      sync_reg |= (offset | NARROW_SCSI);#else   sync_reg |= (offset | NARROW_SCSI);#endif   sssyncv(port,currSCCB->TargID,sync_reg,currTar_Info);   if (currSCCB->Sccb_scsistat == SELECT_SN_ST) {      ACCEPT_MSG(port);      currTar_Info->TarStatus = ((currTar_Info->TarStatus &         ~(UCHAR)TAR_SYNC_MASK) | (UCHAR)SYNC_SUPPORTED);      WR_HARPOON(port+hp_autostart_1, (AUTO_IMMED+DISCONNECT_START));      }   else {      ACCEPT_MSG_ATN(port);      sisyncr(port,sync_msg,offset);      currTar_Info->TarStatus = ((currTar_Info->TarStatus &         ~(UCHAR)TAR_SYNC_MASK) | (UCHAR)SYNC_SUPPORTED);      }}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/47b5d69c4aa753fcfc9b2b8d28c0660a1e25c129/FlashPoint.c/buggy/drivers/scsi/FlashPoint.c