From owner-freebsd-multimedia Thu Apr 8 9: 1:33 1999 Delivered-To: freebsd-multimedia@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 9B93E14BCD; Thu, 8 Apr 1999 09:01:24 -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 QAA21862 Thu, 8 Apr 1999 16:59:11 +0100 (BST) Message-ID: <370CD277.E9A64E04@cs.strath.ac.uk> Date: Thu, 08 Apr 1999 16:59:51 +0100 From: Roger Hardiman Organization: Strathclyde University X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 3.1-STABLE i386) MIME-Version: 1.0 To: Wes Peters Cc: hackers@FreeBSD.ORG, multimedia@FreeBSD.ORG Subject: Re: Bt848 corruption since upgrading to 3.1. Has DMA code changed? References: <370CB2DC.709E7CEA@cs.strath.ac.uk> <370CAA37.3645E2B9@softweyr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Wes, > Does the driver explicitly turn on PCI bus mastering on the card? The > PCI initialization code no longer does this. This change bit the fxp > driver on some machines where the BIOS doesn't initialize bus mastering > on the card. The driver has this code which enables the Bus Mastering. It was added back in the days of 3.0-current (about 12 months ago) when the driver was common to 2.2.x and 3.x. That is why there is a #if around the code. #if __FreeBSD__ > 2 fun = pci_conf_read(tag, PCI_COMMAND_STATUS_REG); pci_conf_write(tag, PCI_COMMAND_STATUS_REG, fun | 4); #endif Any other suggestions I can check? Bye Roger -- Roger Hardiman Strathclyde Uni Telepresence Research Group, Glasgow, Scotland. http://telepresence.dmem.strath.ac.uk 0141 548 2897 roger@cs.strath.ac.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message