  # 
  # We now check for some cards which are known to work as VGA.
  # Issue a warning for cards which probably can do better.
  #
  CHIP_CLASS=IBM
  CHIP_TYPE=vga
  ACCEL_CLASS=IBM
  ACCEL_TYPE=vga
  CLK_CLASS=fixed
  CLK_TYPE=vga
  DAC_CLASS=IBM
  DAC_TYPE=vga

  #
  # ATI Mach chipsets
  # -----------------

  #
  # Mach64 PCI
  #
  checksignature   30  3 "IBM" && 
  checksignature  133 20 "ATI MACH64, PCI BIOS" &&
  echo ATI Mach64 PCI card found. Mach64 support is incomplete, configuring as VGA. &&
  break

  checksignature    80 16 "1996/09/24 14:28" && 
  checksignature   133 37 "ATI MACH64 GTB BIOS P/N 113-38500-100" &&
  checksignature   174 34 "(C) 1988-96, ATI Technologies Inc." &&
  checksignature 16690 21 "ATI Technologies Inc." &&
  echo ATI Mach64 Rage II card found. Mach64 support is incomplete, configuring as VGA. &&
  break

  checksignature   133 33 "ATI MACH32 VLB, P/N 113-19509-102" &&
  checksignature   169 56 "(C) 1988-93, ATI Technologies Inc.ATI VGAWONDER+BK3.2.12" &&
  checksignature 32328 18 "Graphics Subsystem" &&
  echo ATI Mach32 VLBus found. Mach support is incomplete, configuring as VGA. &&
  break

  #
  # Cirrus logic
  # ------------

  #
  # Cirrus Logic 5320
  #
  checksignature   30 44 "IBM COMPATIBLE.*GD5320 VGA BIOS Version 3.08" && 
  checksignature   83 42 "Copyright (c) Cirrus Logic Inc. 1987-1991." && 
  checksignature  127 65 "Copyright (c) Award Software Inc. 1984-1988. All Rights Reserved." && 
  echo CL5320 found. Configuring as VGA. Please try out the new CL driver and report. && break



  #
  # S3 based boards
  # ---------------
  # 868
  checksignature    30 24 "IBM VGA Compatible BIOS." &&
  checksignature    68 53 "Number Nine Visual Technology          9FX Motion 531" &&
  checksignature   133 15 "Let it be 68..." &&
  checksignature   149 43 "(c)1995 Number Nine Visual Technology Corp." &&
  checksignature   194 19 "All Rights Reserved" &&
  checksignature   216 27 "#9-868 BIOS Version 2.04.03" &&
  checksignature   246 35 "(c)1995 S3 Inc Version 2.00.1.01-08" &&
  checksignature   417 16 "04/21/9504/21/95" &&
  checksignature  3658 16 "Viva el Uruguay!" &&
  echo "#9FX Relaity Motion 531 found. No 868 support yet. Configuring as VGA." && 
  break

  # Trio

  #
  # SPEA Mirage VL Bus
  #
  checksignature   30 24 "IBM VGA Compatible BIOS." &&
  checksignature   68 59 "Quadtel S3 86C801 ISA Enhanced VGA BIOS. Version 2.13.03F02" &&
  checksignature  129 70 "Copyright 1987-1992 Quadtel Corp., A Phoenix Technologies Ltd Company." &&
  checksignature  228 28 "V7-MIRAGE BIOS version 3.07V" &&
  checksignature  258 31 "Copyright 1993, SPEA/Videoseven" &&
  checksignature  388 16 "06/17/9306/17/93" &&
  checksignature 21334 27 "S3 Incorporated. 86C801/805" &&
  echo "SPEA Mirage VL-Bus found. Configuring as VGA. Do you know any better config ?" && 
  break

  #
  # SPEA Mirage 
  #
  checksignature   30 24 "IBM VGA Compatible BIOS." &&
  checksignature   68 57 "Phoenix S3 TRIO64 Enhanced VGA BIOS. Version 1.2-07 60MHz" &&
  checksignature  127 45 "Copyright 1987-1992 Phoenix Technologies Ltd." &&
  checksignature  228 32 "V7-MIRAGE P-64 BIOS Version 5.01" &&
  checksignature  262 31 "Copyright 1994, SPEA/VideoSeven" &&
  checksignature  388 16 "10/27/9411/28/94" &&
  checksignature 20404 23 "S3 Incorporated. Trio64" &&
  echo "SPEA Mirage Trio found. Configuring as VGA. Please try Trio support." && 
  break

  #
  # Diamond Stealth 64 DRAM VLB
  #
  checksignature   30 24 "IBM VGA Compatible BIOS." &&
  checksignature   69 64 "Stealth 64 DRAM Vers. 2.02  (c) Diamond Multimedia Systems, Inc." &&
  checksignature 21292 26 "S3 Incorporated. Vision864" &&
  echo "Diamond Stealth 64 DRAM VLB. Configuring as VGA. 864 not supported yet" && 
  break

  #
  # SPEA Mirage P64
  #
  checksignature   30 24 "IBM VGA Compatible BIOS." &&
  checksignature   68 74 "Phoenix S3 Vision868 (S3 SDAC/ICS 5342) Enhanced VGA BIOS. Version 2.00-04" &&
  checksignature  144 45 "Copyright 1987-1995 Phoenix Technologies Ltd." &&
  checksignature  228 34 "V7-MIRAGE P-64 V BIOS Version 3.00" &&
  checksignature  264 31 "Copyright 1995, SPEA/VideoSeven" &&
  checksignature  388 16 "08/30/9508/30/95" &&
  checksignature 19875 26 "S3 Incorporated. Vision868" &&
  echo "SPEA Mirage P64 found. Configuring as VGA. 868 support missing." && 
  break

  #
  # ELSA Winner 2000PRO
  #
  checksignature   30 24 "IBM VGA Compatible BIOS." &&
  checksignature   71 51 "ELSA WINNER 2000PRO VESA VGA BIOS Version 1.04.00-A" &&
  checksignature  127 26 "(c) 1994 ELSA GmbH, Aachen" &&
  checksignature  155 19 "All Rights Reserved" &&
  checksignature  177 16 "12/16/9412/16/94" &&
  checksignature 20176 34 "ELSA WINNER 2000PRO / S3 Vision964" &&
  echo "ELSA Winner 2000PRO found. Configuring as VGA. Please try something better." && 
  break

  #
  # Trident chipsets
  # ----------------

  #
  # Trident 8900CL
  #
  checksignature    81 45 "Copyright 1988-1991 TRIDENT MICROSYSTEMS INC." &&
  checksignature   131 33 "Copyright 1987-1990 Quadtel Corp." &&
  checksignature 30742 27 "TRIDENT TVGA BIOS C4.01(02)" &&
  echo "Trident 8900cl card found.  Trident support is unimplemented," &&
  echo "configuring as VGA." && break

  #
  # Trident Trident TG 9440 (rev 227).
  #
  checksignature    26 21 "FOR IBM COMPATIBILITY"
  checksignature   106 40 "Copyright 1994 TRIDENT MICROSYSTEMS INC." &&
  checksignature   149 36 "Copyright 1990 Phoenix Technologies." &&
  checksignature 32459 21 "TVGA BIOS  A5.7  (01)" &&
  echo "Trident TG 9440 card found.  Trident support is unimplemented," &&
  echo "configuring as VGA." && break

  #
  # Trident 9680
  #
  checksignature    66 17 " X5.5       PCIR#" &&
  checksignature   106 56 "Copyright 1994 TRIDENT MICROSYSTEMS INC.Trident TGUI96xx" &&
  checksignature   165 36 "Copyright 1990 Phoenix Technologies." &&
  checksignature 32687 21 "TVGA BIOS  X5.5  (02)" &&
  echo "Trident TGUI9680 card found.  Trident support is unimplemented," &&
  echo "configuring as VGA." && break


  #
  # Western digital chipsets
  #
  checksignature    30 23 "IBM COMPATIBLE PARADISE" &&
  checksignature  1396 15 "RocketCHIPWDC33" &&
  checksignature 31746 19 "Western Digital Inc" &&
  echo "WD/Paradise 90C33 card found.  No driver yet. Configuring as VGA." && break

  #
  # NeoMagic Laptop chipsets
  #
  checksignature    72 30 "MagicGraph 128XD 40K SVGA BIOS" &&
  checksignature   103 53 "Copyright 1994-97 NeoMagic Corp. All Rights Reserved." &&
  checksignature  7829 16 "MagicGraph 128XV" &&
  echo "NeoMagic MagicGraph 128XD/XV found.  No driver yet. Configuring as VGA." && break

  #
  # ATI Rage chipsets
  #
  checksignature   133 33 "ATI MACH64 BIOS P/N 113-40110-100" &&
  echo "ATI Rage II found.  No driver yet. Configuring as VGA." && break
