From owner-cvs-src@FreeBSD.ORG Sat Aug 21 06:24:22 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C78F16A4CE; Sat, 21 Aug 2004 06:24:22 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F030743D31; Sat, 21 Aug 2004 06:24:21 +0000 (GMT) (envelope-from anholt@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i7L6OLPi057131; Sat, 21 Aug 2004 06:24:21 GMT (envelope-from anholt@repoman.freebsd.org) Received: (from anholt@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7L6OLHN057130; Sat, 21 Aug 2004 06:24:21 GMT (envelope-from anholt) Message-Id: <200408210624.i7L6OLHN057130@repoman.freebsd.org> From: Eric Anholt Date: Sat, 21 Aug 2004 06:24:21 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/pci agp_ali.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Aug 2004 06:24:22 -0000 anholt 2004-08-21 06:24:21 UTC FreeBSD src repository Modified files: sys/pci agp_ali.c Log: Fix aperture size detection on some ALi chipsets by only using the lowest 4 bits to check aperture size, avoiding hangs. Maintain the rest of the bits when setting/unsetting ATTBASE. This essentially matches Linux's AGP driver as well. PR: kern/70037 Submitted by: Mark Tinguely Obtained from: NetBSD Revision Changes Path 1.14 +4 -4 src/sys/pci/agp_ali.c