diff options
author | Olof Johansson <olof@lixom.net> | 2010-09-17 21:19:57 -0400 |
---|---|---|
committer | Jonas ABERG <jonas.aberg@stericsson.com> | 2011-04-27 13:50:46 +0200 |
commit | c26afa999fcce18f2ce3c16948ff3794e4cc3c18 (patch) | |
tree | 067bd105bf110f4353f5ec3f2f7314bc6dbd6f2c /Documentation | |
parent | bb8a101ff288b3cbb95850ec41839f5d3b02c01d (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>
Change-Id: Idb52d768a328f39d3b81d90e8570cc4378e17968
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21725
Reviewed-by: Sebastian RASMUSSEN <sebastian.rasmussen@stericsson.com>
Tested-by: Sebastian RASMUSSEN <sebastian.rasmussen@stericsson.com>
Reviewed-by: QATEST
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'Documentation')
-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 1d83d124056..fdf382164d1 100644 --- a/Documentation/devices.txt +++ b/Documentation/devices.txt @@ -2518,6 +2518,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 |