agp: Sync with FreeBSD * Add support for AMD64 Family 10h processors. FreeBSD PR: kern/128331 * Add a few VIA bridges for Intel Core/Core 2 and VIA Nano processors * Fix AGP debugging code * Rename agp_x86_64.c to agp_amd64.c again, keeping the same file name on both DragonFly and FreeBSD * Fix prototypes to be consistent * offset parameter has vm_offset_t type * vm_offset_t is unsigned and therefore can not be negative * Use si_drv1 instead of dev2unit() inside agp(4). * i810: Aperture size and stolen memory are now printed on one line * Add pci ids for Intel Ironlake chipsets
Revert "rename amd64 architecture to x86_64" This reverts commit c1543a890188d397acca9fe7f76bcd982481a763. I'm reverting it because: 1) the change didn't get properly discussed 2) it was based on false premises: "The rest of the world seems to call amd64 x86_64." 3) no pkgsrc bulk build was done to test the change 4) the original committer acted irresponsibly by committing such a big change just before going on vacation.
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