CVSROOT:        /cvs
Module name:    src
Changes by:     o...@cvs.openbsd.org    2009/04/21 11:05:30

Modified files:
        sys/arch/amd64/amd64: bus_dma.c 
        sys/arch/amd64/conf: files.amd64 
        sys/arch/amd64/include: bus.h 
        sys/arch/amd64/pci: iommu.c pci_machdep.c 
Added files:
        sys/arch/amd64/amd64: sg_dma.c 

Log message:
add a sg_dma backend for amd64 bus_dma. This is a lot more clever about
mapping to the gart than the old code, and shouldn't conflict with
bouncebuffers when they're added.

This is essentially the sparc64 iommu code that's been modularised a bit
so I can eventually use the same code for agp-based dma for memory
managed drm drivers.

Now, this would overflow ramdiskA, so iommu and sg_dma are now #ifndef
SMALL_KERNEL.

ok kettenis@, ma...@. SMALL_KERNEL discussions with deraadt.

Reply via email to