[RFC] MMC: Block: Ensure hardware partitions don't mess with mmcblk device naming.

2011-04-21 Thread Andrei Warkentin
With the hardware partitions support (which represent additional logical devices present on MMC), devidx does not correspond with index used to form /dev/mmcblkX names. So use an additional allocated index for device names. Signed-off-by: Andrei Warkentin andr...@motorola.com ---

Re: [RFC] MMC: Block: Ensure hardware partitions don't mess with mmcblk device naming.

2011-04-21 Thread Andrei Warkentin
On Thu, Apr 21, 2011 at 1:07 AM, Andrei Warkentin andr...@motorola.com wrote: With the hardware partitions support (which represent additional logical devices present on MMC), devidx does not correspond with index used to form /dev/mmcblkX names. So use an additional allocated index for

Re: [RFC] MMC: Block: Ensure hardware partitions don't mess with mmcblk device naming.

2011-04-21 Thread Chris Ball
Hi Andrei, On Thu, Apr 21 2011, Andrei Warkentin wrote: Chris, unfortunately I am working OOF for next couple of days(I am happy I took my eMMC board with me), so I was not able to test second card (laptop only has 1 slot). Tested on your mmc tree with SDHCI and my MMC08G card. Would you mind

Re: [RFC] MMC: Block: Ensure hardware partitions don't mess with mmcblk device naming.

2011-04-21 Thread Chris Ball
Hi Andrei, On Thu, Apr 21 2011, Andrei Warkentin wrote: With the hardware partitions support (which represent additional logical devices present on MMC), devidx does not correspond with index used to form /dev/mmcblkX names. So use an additional allocated index for device names.