From 18326978511e688bdac72f61cced01d2bb91a355 Mon Sep 17 00:00:00 2001 From: dyoung Date: Fri, 1 Jul 2011 22:05:28 +0000 Subject: [PATCH] Switch machine/bus.h references to machine/bus_defs.h and machine/bus_funcs.h references. --- share/man/man9/bus_dma.9 | 9 ++++++--- share/man/man9/bus_space.9 | 8 +++++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/share/man/man9/bus_dma.9 b/share/man/man9/bus_dma.9 index 2e7eb689f326..a33223c91555 100644 --- a/share/man/man9/bus_dma.9 +++ b/share/man/man9/bus_dma.9 @@ -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. diff --git a/share/man/man9/bus_space.9 b/share/man/man9/bus_space.9 index f99d7fac17dc..2a2973c24d79 100644 --- a/share/man/man9/bus_space.9 +++ b/share/man/man9/bus_space.9 @@ -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 @@ functions. 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 @@ Functions which take a count of bytes have undefined results if the specified 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.