From owner-freebsd-bugs Tue Nov 20 10:10: 5 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CD72C37B416 for ; Tue, 20 Nov 2001 10:10:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAKIA0476472; Tue, 20 Nov 2001 10:10:00 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0EC3837B419 for ; Tue, 20 Nov 2001 10:07:40 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAKI7es76032; Tue, 20 Nov 2001 10:07:40 -0800 (PST) (envelope-from nobody) Message-Id: <200111201807.fAKI7es76032@freefall.freebsd.org> Date: Tue, 20 Nov 2001 10:07:40 -0800 (PST) From: Mark McCleary To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/32140: Macros AGP_MODE_SET_RATE and AGP_MODE_GET_RATE incorrect Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 32140 >Category: misc >Synopsis: Macros AGP_MODE_SET_RATE and AGP_MODE_GET_RATE incorrect >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 20 10:10:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Mark McCleary >Release: 4.4-Release >Organization: WindRiver Services >Environment: >Description: The macros AGP_MODE_SET_RATE and AGP_MODE_GET_RATE in agpio.h use a value of 0x03 instead of the correct value of 0x07 in order to mask the AGP rate. The result is that no chipset or graphics card will appear to be capable of 4x operation, and that when setting the rate simultaneous 4x and 1 or 2x operation can be selected. >How-To-Repeat: >Fix: A macro AGP_MODE_RATE_MASK, with a value of (AGP_MODE_RATE_1x | AGP_MODE_RATE_2x | AGP_MODE_RATE_4x) should be used for the mask. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message