si.osMajorVersion = (u8) (LINUX_VERSION_CODE >> 16); si.osMinorVersion = (u8) (LINUX_VERSION_CODE >> 8 & 0x0ff); si.osRevision =     (u8) (LINUX_VERSION_CODE & 0x0ff); 
si.osMajorVersion = 0; si.osMinorVersion = 0; si.osRevision = 0; 
static int adpt_system_info(void __user *buffer){	sysInfo_S si;	memset(&si, 0, sizeof(si));	si.osType = OS_LINUX;	si.osMajorVersion = (u8) (LINUX_VERSION_CODE >> 16);	si.osMinorVersion = (u8) (LINUX_VERSION_CODE >> 8 & 0x0ff);	si.osRevision =     (u8) (LINUX_VERSION_CODE & 0x0ff);	si.busType = SI_PCI_BUS;	si.processorFamily = DPTI_sig.dsProcessorFamily;#if defined __i386__ 	adpt_i386_info(&si);#elif defined (__ia64__)	adpt_ia64_info(&si);#elif defined(__sparc__)	adpt_sparc_info(&si);#elif defined (__alpha__)	adpt_alpha_info(&si);#else	si.processorType = 0xff ;#endif	if(copy_to_user(buffer, &si, sizeof(si))){		printk(KERN_WARNING"dpti: Could not copy buffer TO user\n");		return -EFAULT;	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/a4cd16e2e8f0924d8e3a2391edc51556cad26d99/dpt_i2o.c/clean/drivers/scsi/dpt_i2o.c