2 * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
3 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.
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.
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
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
19 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 #include <linux/delay.h>
27 #include <linux/ioport.h>
28 #include <linux/pci.h>
30 #include <linux/uaccess.h>
31 #include <linux/init.h>
32 #include <linux/proc_fs.h>
33 #include <linux/console.h>
34 #include <linux/timer.h>
39 #define machine_is_olpc(x) 0
54 #include "via_utility.h"
56 #include "tblDPASetting.h"
60 extern int viafb_platform_epia_dvi
;
61 extern int viafb_device_lcd_dualedge
;
62 extern int viafb_bus_width
;
63 extern int viafb_display_hardware_layout
;
64 extern struct offset offset_reg
;
65 extern struct viafb_par
*viaparinfo
;
66 extern struct viafb_par
*viaparinfo1
;
67 extern struct fb_info
*viafbinfo
;
68 extern struct fb_info
*viafbinfo1
;
69 extern int viafb_DeviceStatus
;
70 extern int viafb_refresh
;
71 extern int viafb_refresh1
;
72 extern int viafb_lcd_dsp_method
;
73 extern int viafb_lcd_mode
;
75 extern int viafb_CRT_ON
;
76 extern unsigned int viafb_second_xres
;
77 extern unsigned int viafb_second_yres
;
78 extern int viafb_hotplug_Xres
;
79 extern int viafb_hotplug_Yres
;
80 extern int viafb_hotplug_bpp
;
81 extern int viafb_hotplug_refresh
;
82 extern int viafb_primary_dev
;
84 extern int viafb_lcd_panel_id
;
86 #endif /* __GLOBAL_H__ */