IPW_DEBUG_INFO(DRV_NAME ": Disabling C3 transitions.\n"); 
IPW_DEBUG_INFO(": Disabling C3 transitions.\n"); 
static inline void ipw2100_corruption_detected(struct ipw2100_priv *priv, int i){#ifdef CONFIG_IPW_DEBUG_C3	struct ipw2100_status *status = &priv->status_queue.drv[i];	u32 match, reg;	int j;#endif#ifdef ACPI_CSTATE_LIMIT_DEFINED	int limit;#endif	IPW_DEBUG_INFO(DRV_NAME ": PCI latency error detected at "		       "0x%04zX.\n", i * sizeof(struct ipw2100_status));#ifdef ACPI_CSTATE_LIMIT_DEFINED	IPW_DEBUG_INFO(DRV_NAME ": Disabling C3 transitions.\n");	limit = acpi_get_cstate_limit();	if (limit > 2) {		priv->cstate_limit = limit;		acpi_set_cstate_limit(2);		priv->config |= CFG_C3_DISABLED;	}#endif#ifdef CONFIG_IPW_DEBUG_C3	/* Halt the fimrware so we can get a good image */	write_register(priv->net_dev, IPW_REG_RESET_REG,		       IPW_AUX_HOST_RESET_REG_STOP_MASTER);	j = 5;	do {		udelay(IPW_WAIT_RESET_MASTER_ASSERT_COMPLETE_DELAY);		read_register(priv->net_dev, IPW_REG_RESET_REG, &reg);		if (reg & IPW_AUX_HOST_RESET_REG_MASTER_DISABLED)			break;	} while (j--);	match = ipw2100_match_buf(priv, (u8 *) status,				  sizeof(struct ipw2100_status),				  SEARCH_SNAPSHOT);	if (match < SEARCH_SUCCESS)		IPW_DEBUG_INFO("%s: DMA status match in Firmware at "			       "offset 0x%06X, length %d:\n",			       priv->net_dev->name, match,			       sizeof(struct ipw2100_status));	else		IPW_DEBUG_INFO("%s: No DMA status match in "			       "Firmware.\n", priv->net_dev->name);	printk_buf((u8 *) priv->status_queue.drv,		   sizeof(struct ipw2100_status) * RX_QUEUE_LENGTH);#endif	priv->fatal_error = IPW2100_ERR_C3_CORRUPTION;	priv->ieee->stats.rx_errors++;	schedule_reset(priv);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/a1e695adca76f5729224242e4f2f9f6ceb6863d1/ipw2100.c/buggy/drivers/net/wireless/ipw2100.c