Subject: AW: ATI Xpert 2000 and XFree86
To: 'Jeremy Adams' <l1qu1d@mac.com>
From: Borchert, IT-IS S254, B <T.Borchert@deutschepost.de>
List: tech-x11
Date: 08/01/2001 07:28:13
Hello,

here is the patch. Get the Sources from X, run scanpci, note the hex-id of
your video adapter and change it in the patch text below (if you have
another card - 0x534D -
then I have). Which names you give to your adapter does not matter:
PCI_CHIP_RAGE128GL is a symbol, and "Rage 128 GL 4X" is the name which will
X report, when
it founds a card with the hex-id 0x534D.
Run the patch against the sources or simple edit them. Build X and install
X. On my Athlon 900 it takes about 40 minutes, on my 6x86MMX Cyrix 4,5
hours. For me it works fine, good luck.


diff -c -C 3 -r xc/programs/Xserver/hw/xfree86/common/xf86PciInfo.h
xc.patch/programs/Xserver/hw/xfree86/common/xf86PciInfo.h
*** xc/programs/Xserver/hw/xfree86/common/xf86PciInfo.h Fri May 11 09:56:10
2001
--- xc.patch/programs/Xserver/hw/xfree86/common/xf86PciInfo.h   Fri Jun 29
20:30:30 2001
***************
*** 245,250 ****
--- 245,251 ----
  #define PCI_CHIP_RAGE128RG    0x5247
  #define PCI_CHIP_RAGE128RK    0x524B
  #define PCI_CHIP_RAGE128RL    0x524C
+ #define PCI_CHIP_RAGE128GL    0x534D
  #define PCI_CHIP_MACH64VT     0x5654
  #define PCI_CHIP_MACH64VU     0x5655
  #define PCI_CHIP_MACH64VV     0x5656
***************
*** 837,842 ****
--- 838,844 ----
                                {PCI_CHIP_RAGE128RF,    "Rage 128 RF",0},
                                {PCI_CHIP_RAGE128RK,    "Rage 128 RK",0},
                                {PCI_CHIP_RAGE128RL,    "Rage 128 RL",0},
+                               {PCI_CHIP_RAGE128GL,    "Rage 128 GL 4X",0},
                                {PCI_CHIP_MACH64VT,     "Mach64 VT",0},
                                {PCI_CHIP_MACH64VU,     "Mach64 VU",0},
                                {PCI_CHIP_MACH64VV,     "Mach64 VV",0},

diff -c -C 3 -r xc/programs/Xserver/hw/xfree86/drivers/ati/atichip.c
xc.patch/programs/Xserver/hw/xfree86/drivers/ati/atichip.c
*** xc/programs/Xserver/hw/xfree86/drivers/ati/atichip.c        Wed Apr 25
20:21:10 2001
--- xc.patch/programs/Xserver/hw/xfree86/drivers/ati/atichip.c  Fri Jun 29
20:15:57 2001
***************
*** 76,81 ****
--- 76,82 ----
      "ATI 3D Rage XL or XC",
      "ATI 3D Rage Mobility",
      "ATI unknown Mach64",
+     "ATI Rage 128+ 4X",
      "ATI Rage 128 GL",
      "ATI Rage 128 VR",
      "ATI Rage 128 Pro GL",

diff -c -C 3 -r xc/programs/Xserver/hw/xfree86/drivers/ati/r128_probe.c
xc.patch/programs/Xserver/hw/xfree86/drivers/ati/r128_probe.c
*** xc/programs/Xserver/hw/xfree86/drivers/ati/r128_probe.c     Fri May  4
21:05:33 2001
--- xc.patch/programs/Xserver/hw/xfree86/drivers/ati/r128_probe.c       Sat
Jun 30 22:18:29 2001
***************
*** 80,85 ****
--- 80,86 ----
      { 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_RAGE128GL, "ATI Rage 128 GL 4X" },
      { PCI_CHIP_RAGE128PD, "ATI Rage 128 Pro PD (PCI)" },
      { PCI_CHIP_RAGE128PF, "ATI Rage 128 Pro PF (AGP)" },
      { PCI_CHIP_RAGE128LE, "ATI Rage 128 Mobility LE (PCI)" },
***************
*** 101,106 ****
--- 102,108 ----
      { PCI_CHIP_RAGE128LF, PCI_CHIP_RAGE128LF, RES_SHARED_VGA },
      { PCI_CHIP_RAGE128MF, PCI_CHIP_RAGE128MF, RES_SHARED_VGA },
      { PCI_CHIP_RAGE128ML, PCI_CHIP_RAGE128ML, RES_SHARED_VGA },
+     { PCI_CHIP_RAGE128GL, PCI_CHIP_RAGE128GL, RES_SHARED_VGA },
      { -1,                 -1,                 RES_UNDEFINED }
  };
  




Torsten Borchert