From owner-cvs-all Mon Jan 6 13:59:56 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C63737B401; Mon, 6 Jan 2003 13:59:55 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 733AB43EA9; Mon, 6 Jan 2003 13:59:54 -0800 (PST) (envelope-from tmm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h06Lxsfh030908; Mon, 6 Jan 2003 13:59:54 -0800 (PST) (envelope-from tmm@repoman.freebsd.org) Received: (from tmm@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h06LxsK6030907; Mon, 6 Jan 2003 13:59:54 -0800 (PST) Message-Id: <200301062159.h06LxsK6030907@repoman.freebsd.org> From: Thomas Moestl Date: Mon, 6 Jan 2003 13:59:54 -0800 (PST) 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 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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