diff options
author | stevesk <stevesk@openbsd.org> | 2008-12-03 20:40:56 +0000 |
---|---|---|
committer | stevesk <stevesk@openbsd.org> | 2008-12-03 20:40:56 +0000 |
commit | 098d1fb715f141a84504eadb089c081800bed2ce (patch) | |
tree | 7cf943f8c637b4f3274de562414f086112a2bfff /usr.sbin/gpioctl | |
parent | typo; from hyjial (diff) | |
download | wireguard-openbsd-098d1fb715f141a84504eadb089c081800bed2ce.tar.xz wireguard-openbsd-098d1fb715f141a84504eadb089c081800bed2ce.zip |
clarify GPIO device specification. with input from jmc; ok mbalmer@ jmc@
Diffstat (limited to 'usr.sbin/gpioctl')
-rw-r--r-- | usr.sbin/gpioctl/gpioctl.8 | 10 |
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 |