RE: How to support partitions in driver?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Russel,

I have a full-fledged driver working with NO problems. It has been
developed long back.
Now the issue here is to add the partitions support to the existing
driver.

I guess it will involve enough amount of work. If NOT, please provide me
the documentation if available, HOW-TO use the MMC layer.

If the requirement was BIG & bulky what you suggested might have been
apt.
If I can solve it in less effort why go for more effort.
I can always integrate it with main-steam kernel letter. This is the
PEAK time & I am required to submit the patch as soon as possible.

Please understand the reason behind it.

I assure you that I will use the kernel MMC & accomplish what u said
within  next month?
But for now how to implement the partition support in the driver will be
very helpfull.

Thanks & Regards,
Mukund Jampala



>> I have few basic queries regarding my partition implementation in my
Sd
>> driver.
>> Sorry for asking such petty things here. But, somehow it's not
working &
>> I am made to ask it here.
>
>Why don't you use the MMC/SD layer already merged into the kernel
>instead of rewriting your own.  Grab a copy of Andrew Morton's
>kernel, and look at the code in drivers/mmc and include/linux/mmc.
>
>There are three host drivers there already.  I'm sure you can work
>out how to interface the existing framework to your device.
>
>And suddenly you can take advantage of the already existing mmc
>block device support, which does support partitions, and does
>manage to get hot swapping block devices more or less correct.
>(and if it doesn't, it'll be one less driver to fix later.)
>
>--
>Russell King
> Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
> maintainer of:  2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux