void utilEESendCmdAddr(ULONG p_port, UCHAR ee_cmd, USHORT ee_addr) #endif 
static void FPT_utilEESendCmdAddr(ULONG p_port, UCHAR ee_cmd, USHORT ee_addr) 
void utilEESendCmdAddr(ULONG p_port, UCHAR ee_cmd, USHORT ee_addr)#endif{   UCHAR ee_value;   UCHAR narrow_flg;   USHORT i;   narrow_flg= (UCHAR)(RD_HARPOON(p_port+hp_page_ctrl) & NARROW_SCSI_CARD);   ee_value = SEE_MS;   WR_HARPOON(p_port+hp_ee_ctrl, ee_value);   ee_value |= SEE_CS;                             /* Set CS to EEPROM */   WR_HARPOON(p_port+hp_ee_ctrl, ee_value);   for(i = 0x04; i != 0; i>>=1) {	  if (i & ee_cmd)		 ee_value |= SEE_DO;	  else		 ee_value &= ~SEE_DO;	  WR_HARPOON(p_port+hp_ee_ctrl, ee_value);	  WR_HARPOON(p_port+hp_ee_ctrl, ee_value);	  ee_value |= SEE_CLK;                         /* Clock  data! */	  WR_HARPOON(p_port+hp_ee_ctrl, ee_value);	  WR_HARPOON(p_port+hp_ee_ctrl, ee_value);	  ee_value &= ~SEE_CLK;	  WR_HARPOON(p_port+hp_ee_ctrl, ee_value);	  WR_HARPOON(p_port+hp_ee_ctrl, ee_value);	  }   if (narrow_flg)	  i = 0x0080;   else	  i = 0x0200;   while (i != 0) {	  if (i & ee_addr)		 ee_value |= SEE_DO;	  else		 ee_value &= ~SEE_DO;	  WR_HARPOON(p_port+hp_ee_ctrl, ee_value);	  WR_HARPOON(p_port+hp_ee_ctrl, ee_value);	  ee_value |= SEE_CLK;                         /* Clock  data! */	  WR_HARPOON(p_port+hp_ee_ctrl, ee_value);	  WR_HARPOON(p_port+hp_ee_ctrl, ee_value);	  ee_value &= ~SEE_CLK;	  WR_HARPOON(p_port+hp_ee_ctrl, ee_value);	  WR_HARPOON(p_port+hp_ee_ctrl, ee_value);	  i >>= 1;	  }}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/47b5d69c4aa753fcfc9b2b8d28c0660a1e25c129/FlashPoint.c/buggy/drivers/scsi/FlashPoint.c