Date: Mon, 19 Jun 2000 21:33:36 -0500 (CDT) From: "Kenneth P. Stox" <stox@imagescape.com> To: multimedia@FreeBSD.ORG Subject: 3dfx V5500 support for Xfree86-4 Message-ID: <XFMail.000619213336.stox@imagescape.com> In-Reply-To: <20000618152449.A25053@cokane.yi.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a quick patch to start supporting the 3dfx V5500 in XFree86-4. It only supports one of the processors ( as far as I know ) and should be configured to 32MB of VideoRam. This is a quick hack, but I thought it might be of interest to those who just can't wait to play with new silicon. ;-> ---------------------------------- *** xc.pre_V5/programs/Xserver/hw/xfree86/drivers/tdfx/tdfx_driver.c Tue Mar 7 10:00:13 2000 --- xc/programs/Xserver/hw/xfree86/drivers/tdfx/tdfx_driver.c Fri Jun 16 18:24:30 2000 *************** *** 172,183 **** --- 172,185 ---- static SymTabRec TDFXChipsets[] = { { PCI_CHIP_BANSHEE, "3dfx Banshee"}, { PCI_CHIP_VOODOO3, "3dfx Voodoo3"}, + { PCI_CHIP_VOODOO5, "3dfx Voodoo5"}, { -1, NULL } }; static PciChipsets TDFXPciChipsets[] = { { PCI_CHIP_BANSHEE, PCI_CHIP_BANSHEE, RES_SHARED_VGA }, { PCI_CHIP_VOODOO3, PCI_CHIP_VOODOO3, RES_SHARED_VGA }, + { PCI_CHIP_VOODOO5, PCI_CHIP_VOODOO5, RES_SHARED_VGA }, { -1, -1, RES_UNDEFINED } }; *************** *** 781,786 **** --- 783,791 ---- switch (pTDFX->PciInfo->chipType) { case PCI_CHIP_BANSHEE: pTDFX->MaxClock = 270000; + break; + case PCI_CHIP_VOODOO5: + pTDFX->MaxClock = 350000; break; case PCI_CHIP_VOODOO3: switch(pTDFX->PciInfo->subsysCard) { *** xc.pre_V5/programs/Xserver/hw/xfree86/common/xf86PciInfo.h Fri Feb 25 23:38:19 2000 --- xc/programs/Xserver/hw/xfree86/common/xf86PciInfo.h Fri Jun 16 18:26:11 2000 *************** *** 443,448 **** --- 443,449 ---- #define PCI_CHIP_VOODOO2 0x0002 #define PCI_CHIP_BANSHEE 0x0003 #define PCI_CHIP_VOODOO3 0x0005 + #define PCI_CHIP_VOODOO5 0x0009 /* Rendition */ #define PCI_CHIP_V1000 0x0001 *************** *** 1190,1195 **** --- 1191,1197 ---- {PCI_CHIP_VOODOO2, "Voodoo2",0}, {PCI_CHIP_BANSHEE, "Banshee",0}, {PCI_CHIP_VOODOO3, "Voodoo3",0}, + {PCI_CHIP_VOODOO5, "Voodoo5",0}, {0x0000, NULL,0}}}, {PCI_VENDOR_SIGMADESIGNS, { {0x6401, "REALmagic64/GX (SD 6425)",0 }, ---------------------------------- E-Mail: Kenneth P. Stox <stox@imagescape.com> Date: 19-Jun-00 Time: 21:28:47 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.000619213336.stox>