1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
4 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.
12 #include <linux/delay.h>
13 #include <linux/ioport.h>
14 #include <linux/pci.h>
16 #include <linux/uaccess.h>
17 #include <linux/init.h>
18 #include <linux/proc_fs.h>
19 #include <linux/console.h>
20 #include <linux/timer.h>
25 #define machine_is_olpc(x) 0
40 #include "via_utility.h"
42 #include "tblDPASetting.h"
46 extern int viafb_platform_epia_dvi
;
47 extern int viafb_device_lcd_dualedge
;
48 extern int viafb_bus_width
;
49 extern int viafb_display_hardware_layout
;
50 extern struct offset offset_reg
;
51 extern struct viafb_par
*viaparinfo
;
52 extern struct viafb_par
*viaparinfo1
;
53 extern struct fb_info
*viafbinfo
;
54 extern struct fb_info
*viafbinfo1
;
55 extern int viafb_DeviceStatus
;
56 extern int viafb_refresh
;
57 extern int viafb_refresh1
;
58 extern int viafb_lcd_dsp_method
;
59 extern int viafb_lcd_mode
;
61 extern int viafb_CRT_ON
;
62 extern unsigned int viafb_second_xres
;
63 extern unsigned int viafb_second_yres
;
64 extern int viafb_hotplug_Xres
;
65 extern int viafb_hotplug_Yres
;
66 extern int viafb_hotplug_bpp
;
67 extern int viafb_hotplug_refresh
;
68 extern int viafb_primary_dev
;
70 extern int viafb_lcd_panel_id
;
72 #endif /* __GLOBAL_H__ */