From owner-freebsd-bugs@FreeBSD.ORG Sun Jul 20 08:30:20 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E32E37B401 for ; Sun, 20 Jul 2003 08:30:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3552E43FAF for ; Sun, 20 Jul 2003 08:30:19 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h6KFUJUp052379 for ; Sun, 20 Jul 2003 08:30:19 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h6KFUJJJ052378; Sun, 20 Jul 2003 08:30:19 -0700 (PDT) Resent-Date: Sun, 20 Jul 2003 08:30:19 -0700 (PDT) Resent-Message-Id: <200307201530.h6KFUJJJ052378@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Roderick van Domburg Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8283C37B401 for ; Sun, 20 Jul 2003 08:23:02 -0700 (PDT) Received: from stud187236.mobiel.utwente.nl (stud187236.mobiel.utwente.nl [130.89.187.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB0DC43F3F for ; Sun, 20 Jul 2003 08:23:01 -0700 (PDT) (envelope-from roderick@stud187236.mobiel.utwente.nl) Received: from stud187236.mobiel.utwente.nl (localhost [127.0.0.1]) h6KFKn4T028020 for ; Sun, 20 Jul 2003 17:20:49 +0200 (CEST) (envelope-from roderick@stud187236.mobiel.utwente.nl) Received: (from root@localhost)h6KFKht5028018; Sun, 20 Jul 2003 17:20:43 +0200 (CEST) Message-Id: <200307201520.h6KFKht5028018@stud187236.mobiel.utwente.nl> Date: Sun, 20 Jul 2003 17:20:43 +0200 (CEST) From: Roderick van Domburg To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/54658: [patch] Several spelling and other minor corrections in sys/i386/include/bus_dma.h X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2003 15:30:20 -0000 >Number: 54658 >Category: kern >Synopsis: [patch] Several spelling and other minor corrections in sys/i386/include/bus_dma.h >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 20 08:30:18 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Roderick van Domburg >Release: FreeBSD 5.1-CURRENT sparc64 >Organization: University of Twente >Environment: System: FreeBSD stud187236.mobiel.utwente.nl 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Tue Jul 1 12:10:05 CEST 2003 roderick@stud187236.mobiel.utwente.nl:/usr/obj/usr/src/sys/E250 sparc64 >Description: Whilst browsing the kernel source I found several spelling mistakes. in sys/i386/include/bus_dma.h. Since I had time on my hands, I corrected them along a couple of other minor documentation corrections (mostly whitespacing). I am unsure if this should be fixed upstream? >How-To-Repeat: N/A >Fix: --- /usr/src/sys/i386/include/bus_dma.h.old Sun Jul 20 17:05:53 2003 +++ /usr/src/sys/i386/include/bus_dma.h Sun Jul 20 17:09:33 2003 @@ -103,7 +103,7 @@ * A machine-dependent opaque type describing the characteristics * of how to perform DMA mappings. This structure encapsultes * information concerning address and alignment restrictions, number - * of S/G segments, amount of data per S/G segment, etc. + * of S/G segments, amount of data per S/G segment, etc. */ typedef struct bus_dma_tag *bus_dma_tag_t; @@ -132,7 +132,7 @@ typedef int bus_dma_filter_t(void *, bus_addr_t); /* - * A function that performs driver-specific syncronization on behalf of + * A function that performs driver-specific synchronization on behalf of * busdma. */ typedef enum { @@ -146,7 +146,7 @@ * Allocate a device specific dma_tag encapsulating the constraints of * the parent tag in addition to other restrictions specified: * - * alignment: alignment for segments. + * alignment: Alignment for segments. * boundary: Boundary that segments cannot cross. * lowaddr: Low restricted address that cannot appear in a mapping. * highaddr: High restricted address that cannot appear in a mapping. @@ -179,21 +179,21 @@ int bus_dmamap_create(bus_dma_tag_t dmat, int flags, bus_dmamap_t *mapp); /* - * Destroy a handle for mapping from kva/uva/physical + * Destroy a handle for mapping from kva/uva/physical * address space into bus device space. */ int bus_dmamap_destroy(bus_dma_tag_t dmat, bus_dmamap_t map); /* * Allocate a piece of memory that can be efficiently mapped into - * bus device space based on the constraints lited in the dma tag. + * bus device space based on the constraints listed in the dma tag. * A dmamap to for use with dmamap_load is also allocated. */ int bus_dmamem_alloc(bus_dma_tag_t dmat, void** vaddr, int flags, bus_dmamap_t *mapp); /* - * Free a piece of memory and it's allociated dmamap, that was allocated + * Free a piece of memory and its allocated dmamap, that was allocated * via bus_dmamem_alloc. */ void bus_dmamem_free(bus_dma_tag_t dmat, void *vaddr, bus_dmamap_t map); @@ -213,7 +213,7 @@ /* * Like bus_dmamap_callback but includes map size in bytes. This is - * defined as a separate interface to maintain compatiiblity for users + * defined as a separate interface to maintain compatibility for users * of bus_dmamap_callback_t--at some point these interfaces should be merged. */ typedef void bus_dmamap_callback2_t(void *, bus_dma_segment_t *, int, bus_size_t, int); @@ -235,7 +235,7 @@ int flags); /* - * Perform a syncronization operation on the given map. + * Perform a synchronization operation on the given map. */ void _bus_dmamap_sync(bus_dma_tag_t, bus_dmamap_t, bus_dmasync_op_t); #define bus_dmamap_sync(dmat, dmamap, op) \ >Release-Note: >Audit-Trail: >Unformatted: