From owner-cvs-all@FreeBSD.ORG Fri Sep 16 22:59:47 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D593F16A41F; Fri, 16 Sep 2005 22:59:47 +0000 (GMT) (envelope-from anholt@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7D1343D46; Fri, 16 Sep 2005 22:59:47 +0000 (GMT) (envelope-from anholt@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j8GMxlm0034400; Fri, 16 Sep 2005 22:59:47 GMT (envelope-from anholt@repoman.freebsd.org) Received: (from anholt@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j8GMxlAn034399; Fri, 16 Sep 2005 22:59:47 GMT (envelope-from anholt) Message-Id: <200509162259.j8GMxlAn034399@repoman.freebsd.org> From: Eric Anholt Date: Fri, 16 Sep 2005 22:59:47 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/pci agp_nvidia.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 22:59:48 -0000 anholt 2005-09-16 22:59:47 UTC FreeBSD src repository Modified files: sys/pci agp_nvidia.c Log: Fix agp_nvidia.c to behave more like the linux driver, fixing DRI on Radeon 9200 according to one responder. The primary issue was not setting some bits to say that the entries were active, but also fix one place where some memory wasn't being used as volatile as it should. While here, change some use of ffs to a relatively short case statement, to make it more obvious what's going on. PR: kern/71638, kern/72372, kern/71547? Submitted by: Andrew J. Caines , Robin Schoonover , Jason Henson Revision Changes Path 1.10 +20 -11 src/sys/pci/agp_nvidia.c