priv->led_activity_on = CX2_ACTIVITY_LED; priv->led_activity_off = ~(CX2_ACTIVITY_LED); 
priv->led_activity_on = IPW_ACTIVITY_LED; priv->led_activity_off = ~(IPW_ACTIVITY_LED); 
void ipw_led_init(struct ipw_priv *priv){	priv->nic_type = priv->eeprom[EEPROM_NIC_TYPE];	/* Set the default PINs for the link and activity leds */	priv->led_activity_on = CX2_ACTIVITY_LED;	priv->led_activity_off = ~(CX2_ACTIVITY_LED);	priv->led_association_on = CX2_ASSOCIATED_LED;	priv->led_association_off = ~(CX2_ASSOCIATED_LED);	/* Set the default PINs for the OFDM leds */	priv->led_ofdm_on = CX2_OFDM_LED;	priv->led_ofdm_off = ~(CX2_OFDM_LED);	switch (priv->nic_type) {	case EEPROM_NIC_TYPE_1:		/* In this NIC type, the LEDs are reversed.... */		priv->led_activity_on = CX2_ASSOCIATED_LED;		priv->led_activity_off = ~(CX2_ASSOCIATED_LED);		priv->led_association_on = CX2_ACTIVITY_LED;		priv->led_association_off = ~(CX2_ACTIVITY_LED);		if (!(priv->config & CFG_NO_LED))			ipw_led_band_on(priv);		/* And we don't blink link LEDs for this nic, so		 * just return here */		return;	case EEPROM_NIC_TYPE_3:	case EEPROM_NIC_TYPE_2:	case EEPROM_NIC_TYPE_4:	case EEPROM_NIC_TYPE_0:		break;	default:		IPW_DEBUG_INFO("Unknown NIC type from EEPROM: %d\n",			       priv->nic_type);		priv->nic_type = EEPROM_NIC_TYPE_0;		break;	}	if (!(priv->config & CFG_NO_LED)) {		if (priv->status & STATUS_ASSOCIATED)			ipw_led_link_on(priv);		else			ipw_led_link_off(priv);	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/b095c3819805f87d73d41641a53e4c070360d783/ipw2200.c/buggy/drivers/net/wireless/ipw2200.c