From owner-freebsd-multimedia Mon Jun 19 19:33:50 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from stox.sa.enteract.com (stox.sa.enteract.com [207.229.132.161]) by hub.freebsd.org (Postfix) with ESMTP id 7DE0037B97A for ; Mon, 19 Jun 2000 19:33:39 -0700 (PDT) (envelope-from stox@stox.sa.enteract.com) Received: (from stox@localhost) by stox.sa.enteract.com (8.9.3/8.9.3) id VAA83827 for multimedia@FreeBSD.ORG; Mon, 19 Jun 2000 21:33:36 -0500 (CDT) (envelope-from stox) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20000618152449.A25053@cokane.yi.org> Date: Mon, 19 Jun 2000 21:33:36 -0500 (CDT) From: "Kenneth P. Stox" To: multimedia@FreeBSD.ORG Subject: 3dfx V5500 support for Xfree86-4 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 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