Please sign in to comment.
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 <email@example.com> Cc: Mandeep Baines <firstname.lastname@example.org> Cc: <email@example.com> Signed-off-by: Andrew Morton <firstname.lastname@example.org> Signed-off-by: Chris Ball <email@example.com> Signed-off-by: Andrew Chew <firstname.lastname@example.org> Change-Id: I86de89c4fae878f077743f58127cc8afa0c58f2a Reviewed-on: http://git-master/r/53023 Reviewed-by: Allen Martin <email@example.com> Conflicts: drivers/mmc/card/block.c
- Loading branch information...
Showing with 53 additions and 14 deletions.