From nobody@FreeBSD.org  Tue Nov 20 10:07:40 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 0EC3837B419
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <mark.mccleary@windriver.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Macros AGP_MODE_SET_RATE and AGP_MODE_GET_RATE incorrect
X-Send-Pr-Version: www-1.0

>Number:         32140
>Category:       misc
>Synopsis:       Macros AGP_MODE_SET_RATE and AGP_MODE_GET_RATE incorrect
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ru
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 20 10:10:00 PST 2001
>Closed-Date:    Wed Nov 21 00:41:44 PST 2001
>Last-Modified:  Wed Nov 21 00:42:11 PST 2001
>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:
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Wed Nov 21 00:41:44 PST 2001 
State-Changed-Why:  
Fixed, thanks! 


Responsible-Changed-From-To: freebsd-bugs->ru 
Responsible-Changed-By: ru 
Responsible-Changed-When: Wed Nov 21 00:41:44 PST 2001 
Responsible-Changed-Why:  

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=32140 
>Unformatted:
