Date: Mon, 6 Jan 2003 13:59:54 -0800 (PST) From: Thomas Moestl <tmm@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/include bus_private.h iommuvar.h src/sys/sparc64/pci psycho.c src/sys/sparc64/sbus sbus.c src/sys/sparc64/sparc64 bus_machdep.c iommu.c Message-ID: <200301062159.h06LxsK6030907@repoman.freebsd.org>
index | next in thread | raw e-mail
tmm 2003/01/06 13:59:54 PST
Modified files:
sys/sparc64/include bus_private.h iommuvar.h
sys/sparc64/pci psycho.c
sys/sparc64/sbus sbus.c
sys/sparc64/sparc64 bus_machdep.c iommu.c
Log:
Change the iommu code to be able to handle more than one DVMA area per
map. Use this new feature to implement iommu_dvmamap_load_mbuf() and
iommu_dvmamap_load_uio() functions in terms of a new helper function,
iommu_dvmamap_load_buffer(). Reimplement the iommu_dvmamap_load()
to use it, too.
This requires some changes to the map format; in addition to that,
remove unused or redundant members.
Add SBus and Psycho wrappers for the new functions, and make them
available through the respective DMA tags.
Revision Changes Path
1.3 +16 -8 src/sys/sparc64/include/bus_private.h
1.7 +4 -0 src/sys/sparc64/include/iommuvar.h
1.25 +30 -0 src/sys/sparc64/pci/psycho.c
1.10 +28 -0 src/sys/sparc64/sbus/sbus.c
1.15 +6 -2 src/sys/sparc64/sparc64/bus_machdep.c
1.14 +382 -123 src/sys/sparc64/sparc64/iommu.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301062159.h06LxsK6030907>
