summaryrefslogtreecommitdiff
path: root/usr.sbin/sdio/sdio.8
diff options
context:
space:
mode:
authorUwe Stuehler <uwe@cvs.openbsd.org>2007-05-26 19:19:48 +0000
committerUwe Stuehler <uwe@cvs.openbsd.org>2007-05-26 19:19:48 +0000
commitc38ff95999be32f68ae6d64861823add79aac35c (patch)
treec473fb07381f83b60928851d35720ccc0076181e /usr.sbin/sdio/sdio.8
parent44455e01ff2ab5a0d447eb8fdfc5711641219b9d (diff)
Rewrite the sdio(8) tool so that it can send arbitrary MMC commands.
Diffstat (limited to 'usr.sbin/sdio/sdio.8')
-rw-r--r--usr.sbin/sdio/sdio.825
1 files changed, 24 insertions, 1 deletions
diff --git a/usr.sbin/sdio/sdio.8 b/usr.sbin/sdio/sdio.8
index c0979fba0dc..719cdb6a1c6 100644
--- a/usr.sbin/sdio/sdio.8
+++ b/usr.sbin/sdio/sdio.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sdio.8,v 1.1 2006/11/28 20:26:31 uwe Exp $
+.\" $OpenBSD: sdio.8,v 1.2 2007/05/26 19:19:47 uwe Exp $
.\"
.\" Uwe Stuehler, 2006. Public Domain.
.\"
@@ -10,10 +10,33 @@
.Nd SD/MMC/SDIO interface
.Sh SYNOPSIS
.Nm sdio
+.Fl d Ar debug_flags
+.Nm sdio
+.Fl c Ar index Ar argument Ar response_type
+.Op Ar data ...
.Sh DESCRIPTION
The
.Nm
program provides command-level access to SD/MMC and SDIO cards.
+.Pp
+The options are as follows:
+.Bl -tag -width Ds
+The
+.Fl c
+option sends arbitrary commands to the card.
+.It Fl d Ar debug_flags
+The
+.Fl d
+option sets the debug level for the SD/MMC subsystem and
+.Ar debug_flags
+is a 16-bit value.
+The low byte sets the debug level for
+.Xr sdmmc 4 ,
+the high byte sets the debug level for
+.Xr sdhc 4
+or other host controller drivers.
+.El
+.\" .Sh MMC/SD/SDIO COMMANDS
.Sh SEE ALSO
.Xr intro 8
.Sh HISTORY