freebsd-nq/sys/pci
Eric Anholt d450e052dc Add support for G965/Q965/GM965/GME965/GME945 AGP.
This adds a function to agp.c to set the aperture resource ID if it's
not the usual AGP_APBASE.  Previously, agp.c had been assuming
AGP_APBASE, which resulted in incorrect agp_info, and contortions by
agp_i810.c to work around it.

This also adds functions to agp.c for default AGP_GET_APERTURE() and
AGP_SET_APERTURE(), which return the aperture resource size and disallow
aperture size changes.  Moving to these for our AGP drivers will likely
result in stability improvements.  This should fix 855-class aperture
size detection.

Additionally, refuse to attach agp_i810 when some RAM is above 4GB and
the GART can't reference memory that high.  This should be very rare.
The correct solution would be bus_dma conversion for agp, which is
beyond the scope of this change.  Other AGP drivers could likely use
this change as well.

G33/Q35/Q33 AGP support is also included, but disconnected by default
due to lack of testing.

PR:             kern/109724 (855 aperture issue)
Submitted by:   FUJIMOTO Kou<fujimoto@j.dendai.ac.jp>
Approved by:	re (hrs)
2007-07-13 16:28:12 +00:00
..
agp_ali.c
agp_amd64.c
agp_amd.c
agp_ati.c
agp_i810.c Add support for G965/Q965/GM965/GME965/GME945 AGP. 2007-07-13 16:28:12 +00:00
agp_if.m
agp_intel.c
agp_nvidia.c
agp_sis.c
agp_via.c
agp.c Add support for G965/Q965/GM965/GME965/GME945 AGP. 2007-07-13 16:28:12 +00:00
agppriv.h Add support for G965/Q965/GM965/GME965/GME945 AGP. 2007-07-13 16:28:12 +00:00
agpreg.h Add support for G965/Q965/GM965/GME965/GME945 AGP. 2007-07-13 16:28:12 +00:00
agpvar.h
alpm.c
amdpm.c
amdsmb.c
if_mn.c
if_pcn.c
if_pcnreg.h
if_rl.c
if_rlreg.h re(4) devices requires an external EEPROM. Depending on models it 2007-07-06 00:05:12 +00:00
if_sf.c
if_sfreg.h
if_sis.c
if_sisreg.h
if_ste.c
if_stereg.h
if_tl.c
if_tlreg.h
if_vr.c
if_vrreg.h
if_wb.c
if_wbreg.h
if_xl.c
if_xlreg.h
intpm.c
intpmreg.h
locate.pl
ncr.c
ncrreg.h
nfsmb.c
viapm.c
xrpu.c