global.c 1.6 KB

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