mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Colin Watson <cjwatson@canonical.com>
To: device@lanana.org
Cc: Pierre Ossman <drzeus-mmc@drzeus.cx>, linux-kernel@vger.kernel.org
Subject: [PATCH] Document MMC block device numbers
Date: Wed, 25 Mar 2009 18:00:50 +0000	[thread overview]
Message-ID: <20090325180050.GY7367@riva.ucam.org> (raw)

The MMC block devices created by drivers/mmc/card/block.c in mainline do
not appear to be documented in Documentation/devices.txt. This patch
documents them.

Signed-off-by: Colin Watson <cjwatson@canonical.com>
---
 Documentation/devices.txt |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/Documentation/devices.txt b/Documentation/devices.txt
index 2be0824..4a3343f 100644
--- a/Documentation/devices.txt
+++ b/Documentation/devices.txt
@@ -2547,6 +2547,19 @@ Your cooperation is appreciated.
 		  1 = /dev/dvxirq1	Second DVX device
 		    ...
 
+179 block	MMC block devices
+		  0 = /dev/mmcblk0	First MMC block device
+		  8 = /dev/mmcblk1	Second MMC block device
+		    ...
+		248 = /dev/mmcblk32	32nd MMC block device
+
+		For each device, partitions are added as:
+		  0 = /dev/mmcblk?	Whole disk
+		  1 = /dev/mmcblk?p1	First partition
+		  2 = /dev/mmcblk?p2	Second partition
+		    ...
+		  7 = /dev/mmcblk?p7	Seventh partition
+
 180 char	USB devices
 		  0 = /dev/usb/lp0	First USB printer
 		    ...
-- 
1.6.0.4


-- 
Colin Watson                                    [cjwatson@canonical.com]

                 reply	other threads:[~2009-03-25 18:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090325180050.GY7367@riva.ucam.org \
    --to=cjwatson@canonical.com \
    --cc=device@lanana.org \
    --cc=drzeus-mmc@drzeus.cx \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®