freebsd-nq/sys/pci
Eric Anholt 30e14d656c Add support for 945G/GM AGP chipsets.
The key problem was that the aperture size detection using the MSAC bit
doesn't work -- the bit appears to be set even when it shouldn't be.  Linux
takes a different approach, testing for a bit of the GMADR (PCIR_BAR(2)) being
set.  However, as I don't think that's a safe way to test aperture size, we
just allocate the resource and check its size.  This also pointed out that
agp_generic_attach hadn't been allocating our aperture resource, which may
have caused problems in some cases.

Also corrected is a minor copy-and-pasteo in an error case.

PR:		kern/103079
Submitted by:	mnag
Tested on:	i945GM, i915GM
MFC after:	2 weeks
2006-09-27 06:38:54 +00:00
..
agp_ali.c
agp_amd64.c
agp_amd.c
agp_ati.c
agp_i810.c Add support for 945G/GM AGP chipsets. 2006-09-27 06:38:54 +00:00
agp_if.m
agp_intel.c
agp_nvidia.c
agp_sis.c
agp_via.c
agp.c
agppriv.h
agpreg.h
agpvar.h
alpm.c
amdpm.c
amdsmb.c
if_mn.c
if_pcn.c
if_pcnreg.h
if_rl.c Consistently use if_printf() only in interface methods: if_start, 2006-09-15 10:40:54 +00:00
if_rlreg.h
if_sf.c Consistently use if_printf() only in interface methods: if_start, 2006-09-15 10:40:54 +00:00
if_sfreg.h Whitespace nits. 2006-09-15 11:01:23 +00:00
if_sis.c Consistently use if_printf() only in interface methods: if_start, 2006-09-15 10:40:54 +00:00
if_sisreg.h Consistently use if_printf() only in interface methods: if_start, 2006-09-15 10:40:54 +00:00
if_ste.c Consistently use if_printf() only in interface methods: if_start, 2006-09-15 10:40:54 +00:00
if_stereg.h
if_tl.c Consistently use if_printf() only in interface methods: if_start, 2006-09-15 10:40:54 +00:00
if_tlreg.h Whitespace nits. 2006-09-15 11:01:23 +00:00
if_vr.c Consistently use if_printf() only in interface methods: if_start, 2006-09-15 10:40:54 +00:00
if_vrreg.h Whitespace nits. 2006-09-15 11:01:23 +00:00
if_wb.c Consistently use if_printf() only in interface methods: if_start, 2006-09-15 10:40:54 +00:00
if_wbreg.h Whitespace nits. 2006-09-15 11:01:23 +00:00
if_xl.c Consistently use if_printf() only in interface methods: if_start, 2006-09-15 10:40:54 +00:00
if_xlreg.h Whitespace nits. 2006-09-15 11:01:23 +00:00
intpm.c
intpmreg.h
locate.pl
ncr.c
ncrreg.h
nfsmb.c
viapm.c
xrpu.c