Module Name: src
Committed By: kardel
Date: Wed Apr 23 07:04:01 UTC 2014
Modified Files:
src/distrib/sets/lists/man: mi
src/share/man/man4/man4.evbarm: Makefile
Added Files:
src/share/man/man4/man4.evbarm: bcmgpio.4
Removed Files:
src/share/man/man4: bcmgpio.4
Log Message:
install bcmgpio.4 for evbarm arch
To generate a diff of this commit:
cvs rdiff -u -r1.1470 -r1.1471 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.2 -r0 src/share/man/man4/bcmgpio.4
cvs rdiff -u -r1.5 -r1.6 src/share/man/man4/man4.evbarm/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man4/man4.evbarm/bcmgpio.4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/sets/lists/man/mi
diff -u src/distrib/sets/lists/man/mi:1.1470 src/distrib/sets/lists/man/mi:1.1471
--- src/distrib/sets/lists/man/mi:1.1470 Tue Apr 22 18:51:35 2014
+++ src/distrib/sets/lists/man/mi Wed Apr 23 07:04:01 2014
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1470 2014/04/22 18:51:35 kardel Exp $
+# $NetBSD: mi,v 1.1471 2014/04/23 07:04:01 kardel Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@@ -901,7 +901,6 @@
./usr/share/man/cat4/battery_pmu.0 man-sys-catman .cat
./usr/share/man/cat4/bba.0 man-sys-catman .cat
./usr/share/man/cat4/bce.0 man-sys-catman .cat
-./usr/share/man/cat4/bcmgpio.0 man-sys-catman .cat
./usr/share/man/cat4/bcsp.0 man-sys-catman .cat
./usr/share/man/cat4/be.0 man-sys-catman .cat
./usr/share/man/cat4/bge.0 man-sys-catman .cat
@@ -1041,6 +1040,7 @@
./usr/share/man/cat4/et.0 man-sys-catman .cat
./usr/share/man/cat4/etherip.0 man-sys-catman .cat
./usr/share/man/cat4/etphy.0 man-sys-catman .cat
+./usr/share/man/cat4/evbarm/bcmgpio.0 man-sys-catman .cat
./usr/share/man/cat4/evbarm/cpsw.0 man-sys-catman .cat
./usr/share/man/cat4/evbarm/epgpio.0 man-sys-catman .cat
./usr/share/man/cat4/evbarm/intro.0 man-sys-catman .cat
@@ -3942,7 +3942,6 @@
./usr/share/man/html4/battery_pmu.html man-sys-htmlman html
./usr/share/man/html4/bba.html man-sys-htmlman html
./usr/share/man/html4/bce.html man-sys-htmlman html
-./usr/share/man/html4/bcmgpio.html man-sys-htmlman html
./usr/share/man/html4/bcsp.html man-sys-htmlman html
./usr/share/man/html4/be.html man-sys-htmlman html
./usr/share/man/html4/bge.html man-sys-htmlman html
@@ -4079,6 +4078,7 @@
./usr/share/man/html4/et.html man-sys-htmlman html
./usr/share/man/html4/etherip.html man-sys-htmlman html
./usr/share/man/html4/etphy.html man-sys-htmlman html
+./usr/share/man/html4/evbarm/bcmgpio.html man-sys-htmlman html
./usr/share/man/html4/evbarm/cpsw.html man-sys-htmlman html
./usr/share/man/html4/evbarm/epgpio.html man-sys-htmlman html
./usr/share/man/html4/evbarm/intro.html man-sys-htmlman html
@@ -6747,7 +6747,6 @@
./usr/share/man/man4/battery_pmu.4 man-sys-man .man
./usr/share/man/man4/bba.4 man-sys-man .man
./usr/share/man/man4/bce.4 man-sys-man .man
-./usr/share/man/man4/bcmgpio.4 man-sys-man .man
./usr/share/man/man4/bcsp.4 man-sys-man .man
./usr/share/man/man4/be.4 man-sys-man .man
./usr/share/man/man4/bge.4 man-sys-man .man
@@ -6887,6 +6886,7 @@
./usr/share/man/man4/et.4 man-sys-man .man
./usr/share/man/man4/etherip.4 man-sys-man .man
./usr/share/man/man4/etphy.4 man-sys-man .man
+./usr/share/man/man4/evbarm/bcmgpio.4 man-sys-man .man
./usr/share/man/man4/evbarm/cpsw.4 man-sys-man .man
./usr/share/man/man4/evbarm/epgpio.4 man-sys-man .man
./usr/share/man/man4/evbarm/intro.4 man-sys-man .man
Index: src/share/man/man4/man4.evbarm/Makefile
diff -u src/share/man/man4/man4.evbarm/Makefile:1.5 src/share/man/man4/man4.evbarm/Makefile:1.6
--- src/share/man/man4/man4.evbarm/Makefile:1.5 Sun Jan 6 18:30:10 2013
+++ src/share/man/man4/man4.evbarm/Makefile Wed Apr 23 07:04:01 2014
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2013/01/06 18:30:10 jakllsch Exp $
+# $NetBSD: Makefile,v 1.6 2014/04/23 07:04:01 kardel Exp $
-MAN= cpsw.4 epgpio.4 intro.4 iopaau.4 iopwdog.4
+MAN= bcmgpio.4 cpsw.4 epgpio.4 intro.4 iopaau.4 iopwdog.4
MANSUBDIR=/evbarm
Added files:
Index: src/share/man/man4/man4.evbarm/bcmgpio.4
diff -u /dev/null src/share/man/man4/man4.evbarm/bcmgpio.4:1.1
--- /dev/null Wed Apr 23 07:04:01 2014
+++ src/share/man/man4/man4.evbarm/bcmgpio.4 Wed Apr 23 07:04:01 2014
@@ -0,0 +1,65 @@
+.\" $NetBSD: bcmgpio.4,v 1.1 2014/04/23 07:04:01 kardel Exp $
+.\"
+.\"Copyright (c) 2014 Frank Kardel
+.\"All rights reserved.
+.\"
+.\"Redistribution and use in source and binary forms, with or without
+.\"modification, are permitted provided that the following conditions
+.\"are met:
+.\"1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\"2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\"
+.\"THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS
+.\"``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+.\"TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+.\"PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+.\"BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+.\"CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+.\"SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+.\"INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+.\"CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+.\"ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+.\"POSSIBILITY OF SUCH DAMAGE.
+.\"
+.Dd April 21, 2014
+.Dt BCMGPIO 4
+.Os
+.Sh NAME
+.Nm bcmgpio
+.Nd driver for BCM2835 onboard gpio
+.Sh SYNOPSIS
+.Cd "bcmgpio0 at obio?"
+.Cd "bcmgpio1 at obio?"
+.Cd "gpio* at gpiobus?"
+.Sh DESCRIPTION
+The
+.Nm
+driver supports up to two instances.
+Access to the pins is provided by the
+.Xr gpio 4
+interface.
+The
+.Nm
+.Ar unitnumber
+argument selects the pin range.
+Unit 0 covers GPIO pins 0 through 31 and unit 1 covers pins 32
+through 53.
+GPIO pins being used in alternate configurations are not available
+for GPIO operations.
+.Sh SEE ALSO
+.Xr gpio 4 ,
+.Xr intro 4
+.Sh HISTORY
+The
+.Nm
+driver first appeared in
+.Nx 7.0 .
+.Sh AUTHORS
+.An -nosplit
+The
+.Nm
+driver was written by
+.An Frank Kardel Aq Mt [email protected] .