freebsd-dev/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 Change the various AGP drivers that attach to the Host-PCI bridge device to 2005-12-20 21:12:26 +00:00
agp_amd64.c Use aperture base address from north bridge. Some BIOS does not encode 2006-08-21 19:10:58 +00:00
agp_amd.c Change the various AGP drivers that attach to the Host-PCI bridge device to 2005-12-20 21:12:26 +00:00
agp_ati.c Add support for another ATI IGP 340M (RS200M) AGP bridge. 2006-09-01 02:22:17 +00:00
agp_i810.c Add support for 945G/GM AGP chipsets. 2006-09-27 06:38:54 +00:00
agp_if.m /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
agp_intel.c Add support for the Intel E7205 chipset. 2006-02-17 01:40:46 +00:00
agp_nvidia.c Change the various AGP drivers that attach to the Host-PCI bridge device to 2005-12-20 21:12:26 +00:00
agp_sis.c Move SiS 760 to where it belongs. 2006-05-30 18:41:26 +00:00
agp_via.c Change the various AGP drivers that attach to the Host-PCI bridge device to 2005-12-20 21:12:26 +00:00
agp.c Explicitly set v3 mode only when it is requested. Don't bother otherwise. 2006-08-11 19:16:50 +00:00
agppriv.h
agpreg.h - Use PCIR_BAR() macro for the BAR for the aperture. 2005-12-20 22:45:24 +00:00
agpvar.h Don't map the AGP aperture into contiguous KVA. The various graphics 2005-12-20 20:05:21 +00:00
alpm.c Minor overhaul of SMBus support: 2006-09-11 20:52:41 +00:00
amdpm.c Minor overhaul of SMBus support: 2006-09-11 20:52:41 +00:00
amdsmb.c Minor overhaul of SMBus support: 2006-09-11 20:52:41 +00:00
if_mn.c Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
if_pcn.c Replace references to lnc(4) with references to le(4) (so far the notes 2006-05-15 20:07:24 +00:00
if_pcnreg.h Remove various bits of conditional Alpha code and fixup a few comments. 2006-05-12 05:04:46 +00:00
if_rl.c Consistently use if_printf() only in interface methods: if_start, 2006-09-15 10:40:54 +00:00
if_rlreg.h Another small update to the re(4) driver: 2006-08-01 17:18:25 +00:00
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 Remove various bits of conditional Alpha code and fixup a few comments. 2006-05-12 05:04:46 +00:00
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 intpm(4) meet style(9). style(9) meet intpm(4). 2006-09-13 18:56:39 +00:00
intpmreg.h intpm(4) meet style(9). style(9) meet intpm(4). 2006-09-13 18:56:39 +00:00
locate.pl
ncr.c Commit the results of the typo hunt by Darren Pilgrim. 2006-08-04 07:56:35 +00:00
ncrreg.h Fix typos from previous commit. 2005-01-07 05:01:24 +00:00
nfsmb.c Minor overhaul of SMBus support: 2006-09-11 20:52:41 +00:00
viapm.c Trim some unneeded includes. 2006-09-12 15:01:19 +00:00
xrpu.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00