From owner-cvs-all@FreeBSD.ORG Mon Aug 9 21:01:49 2004 Return-Path: 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 49B0B16A4CF; Mon, 9 Aug 2004 21:01:49 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DCD143D41; Mon, 9 Aug 2004 21:01:49 +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 i79L1n0t078621; Mon, 9 Aug 2004 21:01:49 GMT (envelope-from anholt@repoman.freebsd.org) Received: (from anholt@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i79L1nD8078620; Mon, 9 Aug 2004 21:01:49 GMT (envelope-from anholt) Message-Id: <200408092101.i79L1nD8078620@repoman.freebsd.org> From: Eric Anholt Date: Mon, 9 Aug 2004 21:01:49 +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_via.c agpreg.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 09 Aug 2004 21:01:49 -0000 anholt 2004-08-09 21:01:49 UTC FreeBSD src repository Modified files: sys/pci agp_via.c agpreg.h Log: Minimal fix to prevent crashes when an AGP v2 card is used with the new v3 VIA chipsets, based on Linux's via-agp.c. On boot, the system selects which AGP version to use based on the inserted card. If v2 was chosen, the chipset needs to be programmed with the v2 registers still. Also included in kern/69953 are changes to make the programming of the v3 registers match linux, but that will be left out until the need to do so is confirmed (want specs or a tester). PR: kern/69953 Submitted by: Oleg Sharoiko Tested by: Oleg Sharoiko , Geoff Speicher (full version from PR) Revision Changes Path 1.17 +11 -1 src/sys/pci/agp_via.c 1.12 +1 -0 src/sys/pci/agpreg.h