#if defined(DOS) asm { mov dx,p_port; mov ax,word ptr count; add dx,hp_xfer_cnt_lo; out dx,al; inc dx; xchg ah,al out dx,al; inc dx; mov ax,word ptr count+2; out dx,al; inc dx; inc dx; mov ax,word ptr addr; out dx,al; inc dx; xchg ah,al out dx,al; inc dx; mov ax,word ptr addr+2; out dx,al; inc dx; xchg ah,al out dx,al; }  WR_HARP32(p_port,hp_xfercnt_0,count);  #else 
void busMstrDataXferStart(ULONG p_port, PSCCB pcurrSCCB)#endif{   ULONG addr,count;   if (!(pcurrSCCB->Sccb_XferState & F_AUTO_SENSE)) {      count = pcurrSCCB->Sccb_XferCnt;      addr = (ULONG) pcurrSCCB->DataPointer + pcurrSCCB->Sccb_ATC;      }   else {      addr = pcurrSCCB->SensePointer;      count = pcurrSCCB->RequestSenseLength;      }#if defined(DOS)   asm { mov dx,p_port;         mov ax,word ptr count;         add dx,hp_xfer_cnt_lo;         out dx,al;         inc dx;         xchg ah,al         out dx,al;         inc dx;         mov ax,word ptr count+2;         out dx,al;         inc dx;         inc dx;         mov ax,word ptr addr;         out dx,al;         inc dx;         xchg ah,al         out dx,al;         inc dx;         mov ax,word ptr addr+2;         out dx,al;         inc dx;         xchg ah,al         out dx,al;         }   WR_HARP32(p_port,hp_xfercnt_0,count);#else   HP_SETUP_ADDR_CNT(p_port,addr,count);#endif   if (pcurrSCCB->Sccb_XferState & F_HOST_XFER_DIR) {      WR_HARPOON(p_port+hp_portctrl_0,(DMA_PORT | SCSI_PORT | SCSI_INBIT));      WR_HARPOON(p_port+hp_scsisig, S_DATAI_PH);      WR_HARPOON(p_port+hp_xfer_cmd,         (XFER_DMA_HOST | XFER_HOST_AUTO | XFER_DMA_8BIT));      }   else {      WR_HARPOON(p_port+hp_portctrl_0,(SCSI_PORT | DMA_PORT | DMA_RD));      WR_HARPOON(p_port+hp_scsisig, S_DATAO_PH);      WR_HARPOON(p_port+hp_xfer_cmd,         (XFER_HOST_DMA | XFER_HOST_AUTO | XFER_DMA_8BIT));      }}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/47b5d69c4aa753fcfc9b2b8d28c0660a1e25c129/FlashPoint.c/buggy/drivers/scsi/FlashPoint.c