if (CARDS_WITH_FAULTY_LINK_INDICATORS(subid)) { 
if (CARDS_WITH_FAULTY_LINK_INDICATORS(nic->device_type, subid)) { 
static void s2io_set_link(unsigned long data){	nic_t *nic = (nic_t *) data;	struct net_device *dev = nic->dev;	XENA_dev_config_t __iomem *bar0 = nic->bar0;	register u64 val64;	u16 subid;	if (test_and_set_bit(0, &(nic->link_state))) {		/* The card is being reset, no point doing anything */		return;	}	subid = nic->pdev->subsystem_device;	/*	 * Allow a small delay for the NICs self initiated	 * cleanup to complete.	 */	msleep(100);	val64 = readq(&bar0->adapter_status);	if (verify_xena_quiescence(nic, val64, nic->device_enabled_once)) {		if (LINK_IS_UP(val64)) {			val64 = readq(&bar0->adapter_control);			val64 |= ADAPTER_CNTL_EN;			writeq(val64, &bar0->adapter_control);			if (CARDS_WITH_FAULTY_LINK_INDICATORS(subid)) {				val64 = readq(&bar0->gpio_control);				val64 |= GPIO_CTRL_GPIO_0;				writeq(val64, &bar0->gpio_control);				val64 = readq(&bar0->gpio_control);			} else {				val64 |= ADAPTER_LED_ON;				writeq(val64, &bar0->adapter_control);			}			val64 = readq(&bar0->adapter_status);			if (!LINK_IS_UP(val64)) {				DBG_PRINT(ERR_DBG, "%s:", dev->name);				DBG_PRINT(ERR_DBG, " Link down");				DBG_PRINT(ERR_DBG, "after ");				DBG_PRINT(ERR_DBG, "enabling ");				DBG_PRINT(ERR_DBG, "device \n");			}			if (nic->device_enabled_once == FALSE) {				nic->device_enabled_once = TRUE;			}			s2io_link(nic, LINK_UP);		} else {			if (CARDS_WITH_FAULTY_LINK_INDICATORS(subid)) {				val64 = readq(&bar0->gpio_control);				val64 &= ~GPIO_CTRL_GPIO_0;				writeq(val64, &bar0->gpio_control);				val64 = readq(&bar0->gpio_control);			}			s2io_link(nic, LINK_DOWN);		}	} else {		/* NIC is not Quiescent. */		DBG_PRINT(ERR_DBG, "%s: Error: ", dev->name);		DBG_PRINT(ERR_DBG, "device is not Quiescent\n");		netif_stop_queue(dev);	}	clear_bit(0, &(nic->link_state));}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/541ae68f6ddf1c27aa6879935ce541f110484202/s2io.c/buggy/drivers/net/s2io.c