diff options
author | Olof Johansson <olof@lixom.net> | 2010-09-17 21:19:57 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2010-10-24 21:28:46 -0400 |
commit | 5e71b7a64cb4c6cff75ca42b535d8227526ec592 (patch) | |
tree | 8bec2645c764c2711853ba4300d5eabcf80c3245 /Documentation/devices.txt | |
parent | 061c6c847eeb11743e489a16e907b41c6f9042b6 (diff) |
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. | |||
2520 | 8 = /dev/mmcblk1 Second SD/MMC card | 2520 | 8 = /dev/mmcblk1 Second SD/MMC card |
2521 | ... | 2521 | ... |
2522 | 2522 | ||
2523 | The start of next SD/MMC card can be configured with | ||
2524 | CONFIG_MMC_BLOCK_MINORS, or overridden at boot/modprobe | ||
2525 | time using the mmcblk.perdev_minors option. That would | ||
2526 | bump the offset between each card to be the configured | ||
2527 | value instead of the default 8. | ||
2528 | |||
2523 | 179 char CCube DVXChip-based PCI products | 2529 | 179 char CCube DVXChip-based PCI products |
2524 | 0 = /dev/dvxirq0 First DVX device | 2530 | 0 = /dev/dvxirq0 First DVX device |
2525 | 1 = /dev/dvxirq1 Second DVX device | 2531 | 1 = /dev/dvxirq1 Second DVX device |