diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-04-21 17:05:30 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-04-21 17:05:30 +0000 |
commit | 65fbea4c6c81c751d2f36dd30b53cb9beffeb9da (patch) | |
tree | 478cd97404937dbe3ee4290565f6e7a500025f91 /sys/arch/amd64/conf/files.amd64 | |
parent | e96502ced0d40c866ea5237772878474a8e47f56 (diff) |
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@, marco@. SMALL_KERNEL discussions with deraadt.
Diffstat (limited to 'sys/arch/amd64/conf/files.amd64')
-rw-r--r-- | sys/arch/amd64/conf/files.amd64 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/conf/files.amd64 b/sys/arch/amd64/conf/files.amd64 index 0c7522be0a7..7101f0b669f 100644 --- a/sys/arch/amd64/conf/files.amd64 +++ b/sys/arch/amd64/conf/files.amd64 @@ -1,4 +1,4 @@ -# $OpenBSD: files.amd64,v 1.45 2009/04/20 13:26:20 ariane Exp $ +# $OpenBSD: files.amd64,v 1.46 2009/04/21 17:05:29 oga Exp $ maxpartitions 16 maxusers 2 16 128 @@ -28,6 +28,7 @@ file arch/amd64/amd64/lock_machdep.c multiprocessor file arch/amd64/amd64/intr.c file arch/amd64/amd64/bus_space.c file arch/amd64/amd64/bus_dma.c +file arch/amd64/amd64/sg_dma.c file arch/amd64/amd64/mptramp.S multiprocessor file arch/amd64/amd64/ipifuncs.c multiprocessor |