Module Name:    src
Committed By:   dyoung
Date:           Mon Apr  5 18:24:24 UTC 2010

Modified Files:
        src/share/man/man9: bus_dma.9 bus_space.9

Log Message:
Change some references to <machine/bus.h> to <sys/bus.h>.  MI drivers
should #include <sys/bus.h>. <sys/bus.h> #includes <machine/bus.h> for
the MD implementation details.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/share/man/man9/bus_dma.9
cvs rdiff -u -r1.38 -r1.39 src/share/man/man9/bus_space.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man9/bus_dma.9
diff -u src/share/man/man9/bus_dma.9:1.49 src/share/man/man9/bus_dma.9:1.50
--- src/share/man/man9/bus_dma.9:1.49	Mon Mar 22 18:58:32 2010
+++ src/share/man/man9/bus_dma.9	Mon Apr  5 18:24:24 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: bus_dma.9,v 1.49 2010/03/22 18:58:32 joerg Exp $
+.\" $NetBSD: bus_dma.9,v 1.50 2010/04/05 18:24:24 dyoung Exp $
 .\"
 .\" Copyright (c) 1996, 1997, 1998, 2001, 2005, 2006 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -28,7 +28,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd February 19, 2009
+.Dd April 5, 2010
 .Dt BUS_DMA 9
 .Os
 .Sh NAME
@@ -50,7 +50,7 @@
 .Nm bus_dmatag_destroy
 .Nd Bus and Machine Independent DMA Mapping Interface
 .Sh SYNOPSIS
-.In machine/bus.h
+.In sys/bus.h
 .Ft int
 .Fn bus_dmamap_create "bus_dma_tag_t tag" "bus_size_t size" "int nsegments" \
 "bus_size_t maxsegsz" "bus_size_t boundary" "int flags" "bus_dmamap_t *dmamp"

Index: src/share/man/man9/bus_space.9
diff -u src/share/man/man9/bus_space.9:1.38 src/share/man/man9/bus_space.9:1.39
--- src/share/man/man9/bus_space.9:1.38	Mon Mar 22 18:58:33 2010
+++ src/share/man/man9/bus_space.9	Mon Apr  5 18:24:24 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: bus_space.9,v 1.38 2010/03/22 18:58:33 joerg Exp $
+.\" $NetBSD: bus_space.9,v 1.39 2010/04/05 18:24:24 dyoung Exp $
 .\"
 .\" Copyright (c) 1997 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd March 1, 2008
+.Dd April 5, 2010
 .Dt BUS_SPACE 9
 .Os
 .Sh NAME
@@ -105,7 +105,7 @@
 .Nm bus_space_write_stream_8
 .Nd bus space manipulation functions
 .Sh SYNOPSIS
-.In machine/bus.h
+.In sys/bus.h
 .Ft int
 .Fn bus_space_map "bus_space_tag_t space" "bus_addr_t address" \
 "bus_size_t size" "int flags" "bus_space_handle_t *handlep"
@@ -347,7 +347,7 @@
 machine-independent access to bus memory and register areas.
 All of the functions and types described in this document can be used
 by including the
-.In machine/bus.h
+.In sys/bus.h
 header file.
 .Pp
 Many common devices are used on multiple architectures, but are accessed
@@ -1603,7 +1603,7 @@
 old, deprecated specification can be compiled by defining the
 .Dv __BUS_SPACE_COMPAT_OLDDEFS
 preprocessor symbol before including
-.In machine/bus.h .
+.In sys/bus.h .
 .Sh SEE ALSO
 .Xr bus_dma 9 ,
 .Xr mb 9

Reply via email to