ipw_set_bit(priv, CX2_RESET_REG, CX2_RESET_REG_MASTER_DISABLED | CX2_RESET_REG_STOP_MASTER); 
ipw_set_bit(priv, IPW_RESET_REG, IPW_RESET_REG_MASTER_DISABLED | IPW_RESET_REG_STOP_MASTER); 
static int ipw_fw_dma_wait(struct ipw_priv *priv){	u32 current_index = 0;	u32 watchdog = 0;	IPW_DEBUG_FW(">> : \n");	current_index = ipw_fw_dma_command_block_index(priv);	IPW_DEBUG_FW_INFO("sram_desc.last_cb_index:0x%8X\n",			  (int)priv->sram_desc.last_cb_index);	while (current_index < priv->sram_desc.last_cb_index) {		udelay(50);		current_index = ipw_fw_dma_command_block_index(priv);		watchdog++;		if (watchdog > 400) {			IPW_DEBUG_FW_INFO("Timeout\n");			ipw_fw_dma_dump_command_block(priv);			ipw_fw_dma_abort(priv);			return -1;		}	}	ipw_fw_dma_abort(priv);	/*Disable the DMA in the CSR register */	ipw_set_bit(priv, CX2_RESET_REG,		    CX2_RESET_REG_MASTER_DISABLED | CX2_RESET_REG_STOP_MASTER);	IPW_DEBUG_FW("<< dmaWaitSync \n");	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/b095c3819805f87d73d41641a53e4c070360d783/ipw2200.c/buggy/drivers/net/wireless/ipw2200.c