diff -ur xc/programs/Xserver/hw/xfree86/common/xf86PciInfo.h.orig xc/programs/Xserver/hw/xfree86/common/xf86PciInfo.h
--- xc/programs/Xserver/hw/xfree86/common/xf86PciInfo.h.orig	Wed Oct 11 10:26:45 2000
+++ xc/programs/Xserver/hw/xfree86/common/xf86PciInfo.h	Wed Oct 11 10:32:53 2000
@@ -235,6 +235,7 @@
 #define PCI_CHIP_RAGE128PR	0x5052
 #define PCI_CHIP_RAGE128RE	0x5245
 #define PCI_CHIP_RAGE128RF	0x5246
+#define PCI_CHIP_RAGE128RG	0x5247
 #define PCI_CHIP_RAGE128RK	0x524B
 #define PCI_CHIP_RAGE128RL	0x524C
 #define PCI_CHIP_MACH64VT	0x5654
diff -ur xc/programs/Xserver/hw/xfree86/drivers/r128/r128_driver.c.orig xc/programs/Xserver/hw/xfree86/drivers/r128/r128_driver.c
--- xc/programs/Xserver/hw/xfree86/drivers/r128/r128_driver.c.orig	Wed Oct 11 10:26:45 2000
+++ xc/programs/Xserver/hw/xfree86/drivers/r128/r128_driver.c	Wed Oct 11 10:32:45 2000
@@ -169,6 +169,7 @@
 static SymTabRec R128Chipsets[] = {
     { PCI_CHIP_RAGE128RE, "ATI Rage 128 RE (PCI)" },
     { PCI_CHIP_RAGE128RF, "ATI Rage 128 RF (AGP)" },
+    { PCI_CHIP_RAGE128RG, "ATI Rage 128 RG (AGP)" },
     { PCI_CHIP_RAGE128RK, "ATI Rage 128 RK (PCI)" },
     { PCI_CHIP_RAGE128RL, "ATI Rage 128 RL (AGP)" },
     { PCI_CHIP_RAGE128PF, "ATI Rage 128 Pro PF (AGP)" },
@@ -182,6 +183,7 @@
 static PciChipsets R128PciChipsets[] = {
     { PCI_CHIP_RAGE128RE, PCI_CHIP_RAGE128RE, RES_SHARED_VGA },
     { PCI_CHIP_RAGE128RF, PCI_CHIP_RAGE128RF, RES_SHARED_VGA },
+    { PCI_CHIP_RAGE128RG, PCI_CHIP_RAGE128RG, RES_SHARED_VGA },
     { PCI_CHIP_RAGE128RK, PCI_CHIP_RAGE128RK, RES_SHARED_VGA },
     { PCI_CHIP_RAGE128RL, PCI_CHIP_RAGE128RL, RES_SHARED_VGA },
     { PCI_CHIP_RAGE128PF, PCI_CHIP_RAGE128PF, RES_SHARED_VGA },
@@ -1060,6 +1062,7 @@
     case PCI_CHIP_RAGE128ML: info->HasPanelRegs = TRUE;  break;
     case PCI_CHIP_RAGE128RE:
     case PCI_CHIP_RAGE128RF:
+    case PCI_CHIP_RAGE128RG:
     case PCI_CHIP_RAGE128RK:
     case PCI_CHIP_RAGE128RL:
     case PCI_CHIP_RAGE128PF:
@@ -1088,7 +1091,8 @@
 	case PCI_CHIP_RAGE128MF:
 	case PCI_CHIP_RAGE128ML:
 	case PCI_CHIP_RAGE128RE:
-	case PCI_CHIP_RAGE128RF: offset = 0; break; /* 128-bit SDR SGRAM 1:1 */
+	case PCI_CHIP_RAGE128RF:
+	case PCI_CHIP_RAGE128RG: offset = 0; break; /* 128-bit SDR SGRAM 1:1 */
 	case PCI_CHIP_RAGE128RK:
 	case PCI_CHIP_RAGE128RL:
 	default:                 offset = 1; break; /*  64-bit SDR SGRAM 1:1 */
@@ -1163,6 +1167,7 @@
 	case PCI_CHIP_RAGE128MF:
 	case PCI_CHIP_RAGE128ML:
 	case PCI_CHIP_RAGE128RF:
+	case PCI_CHIP_RAGE128RG:
 	case PCI_CHIP_RAGE128RL:
 	case PCI_CHIP_RAGE128PF:
 	default:                 info->IsPCI = FALSE; break;
diff -ur xc/programs/Xserver/hw/xfree86/fbdevhw/fbdevhw.c.orig xc/programs/Xserver/hw/xfree86/fbdevhw/fbdevhw.c
--- xc/programs/Xserver/hw/xfree86/fbdevhw/fbdevhw.c.orig	Wed Oct 11 10:26:46 2000
+++ xc/programs/Xserver/hw/xfree86/fbdevhw/fbdevhw.c	Wed Oct 11 10:31:58 2000
@@ -269,6 +269,7 @@
 	{ FB_ACCEL_MATROX_MGAG200,      PCI_VENDOR_MATROX, PCI_CHIP_MGAG200      },
 	{ FB_ACCEL_ATI_RAGE128,         PCI_VENDOR_ATI,    PCI_CHIP_RAGE128RE    },
 	{ FB_ACCEL_ATI_RAGE128,         PCI_VENDOR_ATI,    PCI_CHIP_RAGE128RF    },
+	{ FB_ACCEL_ATI_RAGE128,         PCI_VENDOR_ATI,    PCI_CHIP_RAGE128RG    },
 	{ FB_ACCEL_ATI_RAGE128,         PCI_VENDOR_ATI,    PCI_CHIP_RAGE128RK    },
 	{ FB_ACCEL_ATI_RAGE128,         PCI_VENDOR_ATI,    PCI_CHIP_RAGE128RL    },
 	{ FB_ACCEL_ATI_RAGE128,         PCI_VENDOR_ATI,    PCI_CHIP_RAGE128PF    },

