kernels/linux-2.4.0/drivers/video/sis/sis_main.c
/*
 *    Get the User Defined Part of the Display
 */
Get the User Defined Part of the Display
Get the User Defined Part of the Display
static int sisfb_get_var(struct fb_var_screeninfo *var, int con,
			 struct fb_info *info)
{
	DPRINTK("sisfb: sisfb_get_var:[%d]\n", con);
	if (con == -1)
		memcpy(var, &default_var, sizeof(struct fb_var_screeninfo));
	else
		*var = fb_display[con].var;
	return 0;
}
static int sisfb_get_var ( struct fb_var_screeninfo * var , int con , struct fb_info * info ) { DPRINTK ( " \n " , con ) ; if ( con == -1 ) memcpy ( var , & default_var , sizeof ( struct fb_var_screeninfo ) ) ; else * var = fb_display [ con ] . var ; return 0 ; }
Get the User Defined Part of the Display
Get the User Defined Part of the Display