summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2008-12-03 20:40:57 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2008-12-03 20:40:57 +0000
commite93b0551c792b3193ed6ac05752f9add93926265 (patch)
tree0e1794b943563105ca43b818629010eae314c85d
parentd9beeec8aaa5bceb12b4eb4e23352fa4128b3f32 (diff)
clarify GPIO device specification. with input from jmc; ok mbalmer@ jmc@
-rw-r--r--usr.sbin/gpioctl/gpioctl.810
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.sbin/gpioctl/gpioctl.8 b/usr.sbin/gpioctl/gpioctl.8
index e46cfa3bab0..32a90eaa13b 100644
--- a/usr.sbin/gpioctl/gpioctl.8
+++ b/usr.sbin/gpioctl/gpioctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gpioctl.8,v 1.17 2008/12/03 16:26:43 stevesk Exp $
+.\" $OpenBSD: gpioctl.8,v 1.18 2008/12/03 20:40:56 stevesk Exp $
.\"
.\" Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org>
.\"
@@ -69,6 +69,14 @@ to its pins.
Each GPIO device has an associated device file in the
.Pa /dev
directory.
+.Ar device
+can be specified with or without the
+.Pa /dev
+prefix.
+For example,
+.Pa /dev/gpio0
+or
+.Pa gpio0 .
.Pp
GPIO pins can be either
.Dq read