Bug 32140

Summary: Macros AGP_MODE_SET_RATE and AGP_MODE_GET_RATE incorrect
Product: Base System Reporter: Mark McCleary <mark.mccleary>
Component: miscAssignee: ru <ru>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Mark McCleary 2001-11-20 18:10:00 UTC
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.

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.
Comment 1 ru freebsd_committer freebsd_triage 2001-11-21 08:41:44 UTC
State Changed
From-To: open->closed

Fixed, thanks! 


Comment 2 ru freebsd_committer freebsd_triage 2001-11-21 08:41:44 UTC
Responsible Changed
From-To: freebsd-bugs->ru