ips_version_check(ha, intr);	/* Check BIOS/FW/Driver Versions */ 
ha->nvram->versioning = 0;	/* Indicate the Driver Does Not Support Versioning */ 
ips_write_driver_status(ips_ha_t * ha, int intr){	METHOD_TRACE("ips_write_driver_status", 1);	if (!ips_readwrite_page5(ha, FALSE, intr)) {		IPS_PRINTK(KERN_WARNING, ha->pcidev,			   "unable to read NVRAM page 5.\n");		return (0);	}	/* check to make sure the page has a valid */	/* signature */	if (le32_to_cpu(ha->nvram->signature) != IPS_NVRAM_P5_SIG) {		DEBUG_VAR(1,			  "(%s%d) NVRAM page 5 has an invalid signature: %X.",			  ips_name, ha->host_num, ha->nvram->signature);		ha->nvram->signature = IPS_NVRAM_P5_SIG;	}	DEBUG_VAR(2,		  "(%s%d) Ad Type: %d, Ad Slot: %d, BIOS: %c%c%c%c %c%c%c%c.",		  ips_name, ha->host_num, le16_to_cpu(ha->nvram->adapter_type),		  ha->nvram->adapter_slot, ha->nvram->bios_high[0],		  ha->nvram->bios_high[1], ha->nvram->bios_high[2],		  ha->nvram->bios_high[3], ha->nvram->bios_low[0],		  ha->nvram->bios_low[1], ha->nvram->bios_low[2],		  ha->nvram->bios_low[3]);	ips_get_bios_version(ha, intr);	/* change values (as needed) */	ha->nvram->operating_system = IPS_OS_LINUX;	ha->nvram->adapter_type = ha->ad_type;	strncpy((char *) ha->nvram->driver_high, IPS_VERSION_HIGH, 4);	strncpy((char *) ha->nvram->driver_low, IPS_VERSION_LOW, 4);	strncpy((char *) ha->nvram->bios_high, ha->bios_version, 4);	strncpy((char *) ha->nvram->bios_low, ha->bios_version + 4, 4);	ips_version_check(ha, intr);	/* Check BIOS/FW/Driver Versions */	/* now update the page */	if (!ips_readwrite_page5(ha, TRUE, intr)) {		IPS_PRINTK(KERN_WARNING, ha->pcidev,			   "unable to write NVRAM page 5.\n");		return (0);	}	/* IF NVRAM Page 5 is OK, Use it for Slot Number Info Because Linux Doesn't Do Slots */	ha->slot_num = ha->nvram->adapter_slot;	return (1);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/a60768e2d43eb30a1adb8a119aeac35dc0d03ef6/ips.c/buggy/drivers/scsi/ips.c