• Olof Johansson's avatar
    mmc: make number of mmcblk minors configurable · 5e71b7a6
    Olof Johansson authored
    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: default avatarOlof Johansson <olof@lixom.net>
    Cc: Mandeep Baines <msb@chromium.org>
    Cc: <linux-mmc@vger.kernel.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarChris Ball <cjb@laptop.org>
    5e71b7a6
block.c 18 KB