Up to [DragonFly] / src / sys / dev / agp
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Some agp(4) fixes: * Enable the support for G33/Q35/Q33. * Add resume support to the agp_i810 family. * Calculate the number of pages the GATT spans in Nvidia chipsets instead of harcoding in to 33 pages. Obtained-from: FreeBSD
Pull up CVS idents from FreeBSD to match our current version.
Update from FreeBSD: Split agp_generic_detach() up into two routines: agp_free_cdev() destroys /dev/agpgart and agp_free_res() frees resources like the BAR for the aperture. Splitting this up lets chipset-specific detach routines manipulate the aperture during their detach routines without panicing. Obtained-from: FreeBSD
Update the agp(4) code to the latest one from FreeBSD HEAD. This brings in a lot of newer hardware support. Obtained-from: FreeBSD
Do a major clean-up of the BUSDMA architecture. A large number of essentially machine-independant drivers use the structures and definitions in machine-dependant directories that are really machine-independant in nature. Split <machine/bus_dma.h> into machine-depdendant and machine-independant parts and make the primary access run through <sys/bus_dma.h>. Remove <machine/bus.h>, <machine/bus_memio.h> and <machine/bus_pio.h>. The optimizations related to bus_memio.h and bus_pio.h made a huge mess, introduced machine-specific knowledge into essentially machine-independant drivers, and required specific #include file orderings to do their job. They may be reintroduced in some other form later on. Move <machine/resource.h> to <sys/bus_resource.h>. The contents of the file is machine-independant or can be made a superset across many platforms. Make <sys/bus.h> include <sys/bus_dma.h> and <sys/bus_resource.h> and include <sys/bus.h> where necessary. Remove all #include's of <machine/resource.h> and <machine/bus.h>. That is, make the BUSDMA infrastructure integral to I/O-mapped and memory-mapped accesses to devices and remove a large chunk of machine-specific dependancies from drivers. bus_if.h and device_if.h are now required to be present when using <sys/bus.h>.
Add AGP support for the i852GM, i855GM, and i865G. Add AGP support for a number of new SiS bridges (530-760). Add AGP support for teh VIA 8385. Remove some aperture cleanups. Taken-From: FreeBSD-5
This patch adds a bunch of stuff from FreeBSD5. It consistantly makes vendor specific drivers depend on agp, consistantly checks the gart size != 0, changes agp_generic_enable to the FreeBSD5 function, initializing the device as v2 or v3 accordingly, syncs up agpio.h, and adds a couple PCI Ids from FreeBSD5. Submitted-by: Craig Dooley <email@example.com>
Add nForce AGP support, taken from FreeBSD with some minor changes to get it to work with DragonFly.