diff options
author | Olof Johansson <olof@lixom.net> | 2010-09-17 21:19:57 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2010-10-25 09:28:46 +0800 |
commit | 5e71b7a64cb4c6cff75ca42b535d8227526ec592 (patch) | |
tree | 8bec2645c764c2711853ba4300d5eabcf80c3245 /Documentation/devices.txt | |
parent | 061c6c847eeb11743e489a16e907b41c6f9042b6 (diff) | |
download | linux-5e71b7a64cb4c6cff75ca42b535d8227526ec592.tar.gz linux-5e71b7a64cb4c6cff75ca42b535d8227526ec592.tar.bz2 linux-5e71b7a64cb4c6cff75ca42b535d8227526ec592.zip |
mmc: make number of mmcblk minors configurable
The old limit of number of minor numbers per mmcblk device was hardcoded
at 8. This isn't enough for some of the more elaborate partitioning
schemes, for example those used by Chrome OS.
Since there might be a bunch of systems out there with static /dev
contents that relies on the old numbering scheme, let's make it a
build-time option with the default set to the previous 8.
Also provide a boot/modprobe-time parameter to override the config
default: mmcblk.perdev_minors.
Signed-off-by: Olof Johansson <olof@lixom.net>
Cc: Mandeep Baines <msb@chromium.org>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'Documentation/devices.txt')
-rw-r--r-- | Documentation/devices.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devices.txt b/Documentation/devices.txt index c58abf1ccc71..170cc1e7e135 100644 --- a/Documentation/devices.txt +++ b/Documentation/devices.txt @@ -2520,6 +2520,12 @@ Your cooperation is appreciated. 8 = /dev/mmcblk1 Second SD/MMC card ... + The start of next SD/MMC card can be configured with + CONFIG_MMC_BLOCK_MINORS, or overridden at boot/modprobe + time using the mmcblk.perdev_minors option. That would + bump the offset between each card to be the configured + value instead of the default 8. + 179 char CCube DVXChip-based PCI products 0 = /dev/dvxirq0 First DVX device 1 = /dev/dvxirq1 Second DVX device |