Module Name: src Committed By: dyoung Date: Fri Jul 1 22:05:28 UTC 2011
Modified Files: src/share/man/man9: bus_dma.9 bus_space.9 Log Message: Switch machine/bus.h references to machine/bus_defs.h and machine/bus_funcs.h references. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/share/man/man9/bus_dma.9 cvs rdiff -u -r1.40 -r1.41 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.53 src/share/man/man9/bus_dma.9:1.54 --- src/share/man/man9/bus_dma.9:1.53 Fri May 14 18:52:46 2010 +++ src/share/man/man9/bus_dma.9 Fri Jul 1 22:05:28 2011 @@ -1,4 +1,4 @@ -.\" $NetBSD: bus_dma.9,v 1.53 2010/05/14 18:52:46 jruoho Exp $ +.\" $NetBSD: bus_dma.9,v 1.54 2011/07/01 22:05:28 dyoung Exp $ .\" .\" Copyright (c) 1996, 1997, 1998, 2001, 2005, 2006 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -95,9 +95,12 @@ .Sh DESCRIPTION Provide a bus- and machine-independent "DMA mapping interface." .Sh IMPLEMENTATION NOTES -All data structures, function prototypes, and macros will be defined +All data types and constants will be defined by the port-specific header -.In machine/bus.h . +.In machine/bus_defs.h . +All functions will be defined +by the port-specific header +.In machine/bus_funcs.h . Note that this document assumes the existence of types already defined by the current "bus.h" interface. Index: src/share/man/man9/bus_space.9 diff -u src/share/man/man9/bus_space.9:1.40 src/share/man/man9/bus_space.9:1.41 --- src/share/man/man9/bus_space.9:1.40 Fri Apr 16 20:05:37 2010 +++ src/share/man/man9/bus_space.9 Fri Jul 1 22:05:28 2011 @@ -1,4 +1,4 @@ -.\" $NetBSD: bus_space.9,v 1.40 2010/04/16 20:05:37 dyoung Exp $ +.\" $NetBSD: bus_space.9,v 1.41 2011/07/01 22:05:28 dyoung Exp $ .\" .\" Copyright (c) 1997 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -380,7 +380,9 @@ Implementations are encouraged to implement prototyped (type-checked) versions of these interfaces, but may implement them as macros if appropriate. Machine-dependent types, variables, and functions should be marked clearly in -.In machine/bus.h +.In machine/bus_defs.h +and in +.In machine/bus_funcs.h to avoid confusion with the machine-independent types and functions, and, if possible, should be given names which make the machine-dependence clear. @@ -496,7 +498,7 @@ is zero. .Sh TYPES Several types are defined in -.In machine/bus.h +.In machine/bus_defs.h to facilitate use of the .Nm functions by drivers.