From c38ff95999be32f68ae6d64861823add79aac35c Mon Sep 17 00:00:00 2001 From: Uwe Stuehler Date: Sat, 26 May 2007 19:19:48 +0000 Subject: Rewrite the sdio(8) tool so that it can send arbitrary MMC commands. --- usr.sbin/sdio/sdio.8 | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'usr.sbin/sdio/sdio.8') 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 -- cgit v1.2.3