[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	oga_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2008/03/23 13:54:47

Modified files:
	sys/dev/pci    : agp.c agp_i810.c agpvar.h 

Log message:
Sometimes the registers claiming the aperture size on 9XX chipsets lie.

So instead, use the size of the aperture BAR to determine the aperture
size for agp_i810, and don't let the 855 and above have the aperture
set. Next to nothing uses it anyway so no harm.

introduce generic_{get,set} aperture which has this behaviour so other
drivers may use it if useful.

Change inspired by what freebsd did after i noticed my aperture size was
wrong.

Tested by many, ok kettenis_(_at_)__(_dot_)_



Visit your host, monkey.org