blob: 1ee511b733071b1641ea5eabff3e4c9073c7f98c [file] [log] [blame]
Joseph Chanc09c7822008-10-15 22:03:23 -07001/*
2 * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
3 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.
4
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public
7 * License as published by the Free Software Foundation;
8 * either version 2, or (at your option) any later version.
9
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
12 * the implied warranty of MERCHANTABILITY or FITNESS FOR
13 * A PARTICULAR PURPOSE.See the GNU General Public License
14 * for more details.
15
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc.,
19 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 */
21#include "global.h"
22int viafb_platform_epia_dvi = STATE_OFF;
23int viafb_device_lcd_dualedge = STATE_OFF;
24int viafb_bus_width = 12;
25int viafb_display_hardware_layout = HW_LAYOUT_LCD_DVI;
Joseph Chanc09c7822008-10-15 22:03:23 -070026int viafb_DeviceStatus = CRT_Device;
27int viafb_hotplug;
28int viafb_refresh = 60;
29int viafb_refresh1 = 60;
30int viafb_lcd_dsp_method = LCD_EXPANDSION;
31int viafb_lcd_mode = LCD_OPENLDI;
Joseph Chanc09c7822008-10-15 22:03:23 -070032int viafb_CRT_ON = 1;
33int viafb_DVI_ON;
34int viafb_LCD_ON ;
35int viafb_LCD2_ON;
36int viafb_SAMM_ON;
37int viafb_dual_fb;
38int viafb_hotplug_Xres = 640;
39int viafb_hotplug_Yres = 480;
40int viafb_hotplug_bpp = 32;
41int viafb_hotplug_refresh = 60;
Joseph Chanc09c7822008-10-15 22:03:23 -070042int viafb_primary_dev = None_Device;
Joseph Chanc09c7822008-10-15 22:03:23 -070043unsigned int viafb_second_xres = 640;
44unsigned int viafb_second_yres = 480;
45unsigned int viafb_second_virtual_xres;
46unsigned int viafb_second_virtual_yres;
47int viafb_lcd_panel_id = LCD_PANEL_ID_MAXIMUM + 1;
Joseph Chanc09c7822008-10-15 22:03:23 -070048struct fb_info *viafbinfo;
49struct fb_info *viafbinfo1;
50struct viafb_par *viaparinfo;
51struct viafb_par *viaparinfo1;
52