} else if(!strnicmp(this_opt, "mem:",4)) { sisfb_parm_mem = simple_strtoul(this_opt + 4, NULL, 0); 
} else if(!strnicmp(this_opt, "mem:",4)) { sisfb_parm_mem = simple_strtoul(this_opt + 4, NULL, 0); 
SISINITSTATIC int __init sisfb_setup(char *options){	char *this_opt;		sisfb_setdefaultparms();        printk(KERN_DEBUG "sisfb: Options %s\n", options);	if(!options || !(*options)) {		return 0;	}	while((this_opt = strsep(&options, ",")) != NULL) {		if(!(*this_opt)) continue;		if(!strnicmp(this_opt, "off", 3)) {			sisfb_off = 1;		} else if(!strnicmp(this_opt, "forcecrt2type:", 14)) {			/* Need to check crt2 type first for fstn/dstn */			sisfb_search_crt2type(this_opt + 14);		} else if(!strnicmp(this_opt, "tvmode:",7)) {		        sisfb_search_tvstd(this_opt + 7);                } else if(!strnicmp(this_opt, "tvstandard:",11)) {			sisfb_search_tvstd(this_opt + 7);		} else if(!strnicmp(this_opt, "mode:", 5)) {			sisfb_search_mode(this_opt + 5, FALSE);		} else if(!strnicmp(this_opt, "vesa:", 5)) {			sisfb_search_vesamode(simple_strtoul(this_opt + 5, NULL, 0), FALSE);#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)		} else if(!strnicmp(this_opt, "inverse", 7)) {			sisfb_inverse = 1;			/* fb_invert_cmaps(); */		} else if(!strnicmp(this_opt, "font:", 5)) {		        if(strlen(this_opt + 5) < 40) {			   strncpy(sisfb_fontname, this_opt + 5, sizeof(sisfb_fontname) - 1);			   sisfb_fontname[sizeof(sisfb_fontname) - 1] = '\0';			}#endif		} else if(!strnicmp(this_opt, "rate:", 5)) {			sisfb_parm_rate = simple_strtoul(this_opt + 5, NULL, 0);		} else if(!strnicmp(this_opt, "filter:", 7)) {			sisfb_filter = (int)simple_strtoul(this_opt + 7, NULL, 0);		} else if(!strnicmp(this_opt, "forcecrt1:", 10)) {			sisfb_forcecrt1 = (int)simple_strtoul(this_opt + 10, NULL, 0);                } else if(!strnicmp(this_opt, "mem:",4)) {		        sisfb_parm_mem = simple_strtoul(this_opt + 4, NULL, 0);		} else if(!strnicmp(this_opt, "pdc:", 4)) {		        sisfb_pdc = simple_strtoul(this_opt + 4, NULL, 0);		} else if(!strnicmp(this_opt, "pdc1:", 5)) {		        sisfb_pdca = simple_strtoul(this_opt + 5, NULL, 0);		} else if(!strnicmp(this_opt, "noaccel", 7)) {			sisfb_accel = 0;		} else if(!strnicmp(this_opt, "accel", 5)) {			sisfb_accel = -1;		} else if(!strnicmp(this_opt, "noypan", 6)) {		        sisfb_ypan = 0;		} else if(!strnicmp(this_opt, "ypan", 4)) {		        sisfb_ypan = -1;		} else if(!strnicmp(this_opt, "nomax", 5)) {		        sisfb_max = 0;		} else if(!strnicmp(this_opt, "max", 3)) {		        sisfb_max = -1;		} else if(!strnicmp(this_opt, "userom:", 7)) {			sisfb_userom = (int)simple_strtoul(this_opt + 7, NULL, 0);		} else if(!strnicmp(this_opt, "useoem:", 7)) {			sisfb_useoem = (int)simple_strtoul(this_opt + 7, NULL, 0);		} else if(!strnicmp(this_opt, "nocrt2rate", 10)) {			sisfb_nocrt2rate = 1;	 	} else if(!strnicmp(this_opt, "scalelcd:", 9)) {		        unsigned long temp = 2;		        temp = simple_strtoul(this_opt + 9, NULL, 0);		        if((temp == 0) || (temp == 1)) {			   sisfb_scalelcd = temp ^ 1;		        }		} else if(!strnicmp(this_opt, "tvxposoffset:", 13)) {		        int temp = 0;		        temp = (int)simple_strtol(this_opt + 13, NULL, 0);		        if((temp >= -32) && (temp <= 32)) {			   sisfb_tvxposoffset = temp;		        }		} else if(!strnicmp(this_opt, "tvyposoffset:", 13)) {		        int temp = 0;		        temp = (int)simple_strtol(this_opt + 13, NULL, 0);		        if((temp >= -32) && (temp <= 32)) {			   sisfb_tvyposoffset = temp;		        }		} else if(!strnicmp(this_opt, "specialtiming:", 14)) {			sisfb_search_specialtiming(this_opt + 14);		} else if(!strnicmp(this_opt, "lvdshl:", 7)) {		        int temp = 4;		        temp = simple_strtoul(this_opt + 7, NULL, 0);		        if((temp >= 0) && (temp <= 3)) {			   sisfb_lvdshl = temp;		        }		} else if(this_opt[0] >= '0' && this_opt[0] <= '9') {			sisfb_search_mode(this_opt, TRUE);#if !defined(__i386__) && !defined(__x86_64__)	        } else if(!strnicmp(this_opt, "resetcard", 9)) {		  	sisfb_resetcard = 1;	        } else if(!strnicmp(this_opt, "videoram:", 9)) {		  	sisfb_videoram = simple_strtoul(this_opt + 9, NULL, 0);#endif		} else {			printk(KERN_INFO "sisfb: Invalid option %s\n", this_opt);		}	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/544393fe584d333480659a4bed30f5295355df11/sis_main.c/clean/drivers/video/sis/sis_main.c