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 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 Fix style(9) nits. 2006-10-09 20:26:32 +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 G965/Q965/GM965/GME965/GME945 AGP. 2007-07-13 16:28:12 +00:00
agp_if.m
agp_intel.c Restore agp aperture size after resume, in case it is modified after boot. 2007-01-06 08:31:31 +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 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 Don't map the AGP aperture into contiguous KVA. The various graphics 2005-12-20 20:05:21 +00:00
alpm.c Various updates to most of the smbus(4) drivers: 2007-01-11 19:56:24 +00:00
amdpm.c Various updates to most of the smbus(4) drivers: 2007-01-11 19:56:24 +00:00
amdsmb.c Various updates to most of the smbus(4) drivers: 2007-01-11 19:56:24 +00:00
if_mn.c Catchup with filters 2007-02-23 19:41:34 +00:00
if_pcn.c o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
if_pcnreg.h - Clear the PCN_MISC_ASEL bit so the media port can be actually set 2006-11-28 01:33:17 +00:00
if_rl.c o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
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 o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
if_sfreg.h Whitespace nits. 2006-09-15 11:01:23 +00:00
if_sis.c Convert sis(4) to use its own watchdog procedure. 2007-02-24 14:27:36 +00:00
if_sisreg.h Convert sis(4) to use its own watchdog procedure. 2007-02-24 14:27:36 +00:00
if_ste.c The mac address must be written a word length at a time, it was having no effect before. 2007-06-15 21:45:41 +00:00
if_stereg.h Add new ST201 PCI id. 2007-03-10 03:10:34 +00:00
if_tl.c tl(4) appears to support long frames. 2007-05-09 09:02:11 +00:00
if_tlreg.h Whitespace nits. 2006-09-15 11:01:23 +00:00
if_vr.c Add VLAN capability. 2007-04-23 12:19:02 +00:00
if_vrreg.h Add VLAN capability. 2007-04-23 12:19:02 +00:00
if_wb.c o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
if_wbreg.h Whitespace nits. 2006-09-15 11:01:23 +00:00
if_xl.c o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
if_xlreg.h - Use the xl_stats_update() callout instead of if_slowtimo() for 2006-12-06 02:18:41 +00:00
intpm.c Oops, fix intsmb(4) attach. Don't overwrite the 'value' holding the 2007-04-19 17:14:06 +00:00
intpmreg.h Various updates to most of the smbus(4) drivers: 2007-01-11 19:56:24 +00:00
locate.pl
ncr.c Prepare for future integration between CAM and newbus. xpt_bus_register 2007-06-17 05:55:54 +00:00
ncrreg.h
nfsmb.c Various updates to most of the smbus(4) drivers: 2007-01-11 19:56:24 +00:00
viapm.c Various updates to most of the smbus(4) drivers: 2007-01-11 19:56:24 +00:00
xrpu.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00