From owner-freebsd-hackers Tue May 25 8:49:51 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from fleming.cs.strath.ac.uk (fleming.cs.strath.ac.uk [130.159.196.126]) by hub.freebsd.org (Postfix) with ESMTP id 11830151A8 for ; Tue, 25 May 1999 08:49:38 -0700 (PDT) (envelope-from roger@cs.strath.ac.uk) Received: from cs.strath.ac.uk (scary.dmem.strath.ac.uk [130.159.202.5]) by fleming.cs.strath.ac.uk (8.8.8/8.8.8) with ESMTP id QAA00659 Tue, 25 May 1999 16:49:08 +0100 (BST) Message-ID: <374AC6A2.7F33F60E@cs.strath.ac.uk> Date: Tue, 25 May 1999 16:49:54 +0100 From: Roger Hardiman Organization: Strathclyde University X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 3.2-STABLE i386) MIME-Version: 1.0 To: Thomas David Rivers Cc: hackers@FreeBSD.ORG Subject: Re: How to find the PCI chipset type inside a driver References: <199905251337.JAA05274@lakes.dignus.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David, > Just out of curiosity - every now-and-then, when watching TV with my > bt848 - the machine will lock up hard.. Lockups are a possibility with older motherboards where the PCI bus gets overloaded, or on some older SIS, VIA and OPTi motherboards where they did not implement the PCI spec properly when it comes to bus mastering. (the broken SiS/VIA chipsets toggle the PCI control lines incorrectly) Obviously Brooktree decided that SIS and VIA chipsets were sufficiently broken to add extra compatibility hardware into the Bt878 and Bt879. The Bt848 has the MYSTERY_BIT (see the source), which is not defined in the datasheets, but Brooktree told us to set it! It enables the Bt848's 430FX compatibilty mode and a small performance hit. So, your lockups could be due to either a PCI bus saturation or due to an old chipset. To avoid saturation, grab smaller image sizes. That worked for me on my very old VIA chipset embedded systems. Max grab size of 320x256 is stable. You may get better results from changing your BIOS PCI settings. Try turning OFF some of the PCI speedups, like combined writes. This seemed to help one person's stability. Ayway, I still want the driver to determine the motherboard PCI bus chipset for itself. Bye Roger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message