u64 val64 = 0; 
u64 val64 = 0, exp_val; 
static int s2io_register_test(nic_t * sp, uint64_t * data){	XENA_dev_config_t __iomem *bar0 = sp->bar0;	u64 val64 = 0;	int fail = 0;	val64 = readq(&bar0->pif_rd_swapper_fb);	if (val64 != 0x123456789abcdefULL) {		fail = 1;		DBG_PRINT(INFO_DBG, "Read Test level 1 fails\n");	}	val64 = readq(&bar0->rmac_pause_cfg);	if (val64 != 0xc000ffff00000000ULL) {		fail = 1;		DBG_PRINT(INFO_DBG, "Read Test level 2 fails\n");	}	val64 = readq(&bar0->rx_queue_cfg);	if (val64 != 0x0808080808080808ULL) {		fail = 1;		DBG_PRINT(INFO_DBG, "Read Test level 3 fails\n");	}	val64 = readq(&bar0->xgxs_efifo_cfg);	if (val64 != 0x000000001923141EULL) {		fail = 1;		DBG_PRINT(INFO_DBG, "Read Test level 4 fails\n");	}	val64 = 0x5A5A5A5A5A5A5A5AULL;	writeq(val64, &bar0->xmsi_data);	val64 = readq(&bar0->xmsi_data);	if (val64 != 0x5A5A5A5A5A5A5A5AULL) {		fail = 1;		DBG_PRINT(ERR_DBG, "Write Test level 1 fails\n");	}	val64 = 0xA5A5A5A5A5A5A5A5ULL;	writeq(val64, &bar0->xmsi_data);	val64 = readq(&bar0->xmsi_data);	if (val64 != 0xA5A5A5A5A5A5A5A5ULL) {		fail = 1;		DBG_PRINT(ERR_DBG, "Write Test level 2 fails\n");	}	*data = fail;	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/ad4ebed00fbf570411edbf6eb6c391e16b71df25/s2io.c/clean/drivers/net/s2io.c