Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man9 Switch machine/bus.h references to machine/bu...
details: https://anonhg.NetBSD.org/src/rev/1a57b7a8d849
branches: trunk
changeset: 766778:1a57b7a8d849
user: dyoung <dyoung%NetBSD.org@localhost>
date: Fri Jul 01 22:05:28 2011 +0000
description:
Switch machine/bus.h references to machine/bus_defs.h and
machine/bus_funcs.h references.
diffstat:
share/man/man9/bus_dma.9 | 9 ++++++---
share/man/man9/bus_space.9 | 8 +++++---
2 files changed, 11 insertions(+), 6 deletions(-)
diffs (53 lines):
diff -r 53de65d50a74 -r 1a57b7a8d849 share/man/man9/bus_dma.9
--- a/share/man/man9/bus_dma.9 Fri Jul 01 20:57:45 2011 +0000
+++ b/share/man/man9/bus_dma.9 Fri Jul 01 22:05:28 2011 +0000
@@ -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 -r 53de65d50a74 -r 1a57b7a8d849 share/man/man9/bus_space.9
--- a/share/man/man9/bus_space.9 Fri Jul 01 20:57:45 2011 +0000
+++ b/share/man/man9/bus_space.9 Fri Jul 01 22:05:28 2011 +0000
@@ -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.
Home |
Main Index |
Thread Index |
Old Index