--------------------------
MMCDEV kernel patch Readme
--------------------------

-----------
1. Overview
-----------
    This readme contains information on how to add MMC support to your kernel.

---------------
2. Installation
---------------

   In order to add MMC support to your kernel, follow the steps listed above.

   2.1. Install the Linux kernel source on the directory:
      /usr/src/linux

   2.2. Copy the mmcdev kernel patch to /usr/src

   2.3. Apply the patch with the following command:
      # bzcat mmcdev-patch-xxx.bz2 | patch -p0

      where xxx is the kernel version.

   If everything works fine the patch will generate an output like:
	patching file `linux/Makefile'
	patching file `linux/drivers/char/Config.in'
	patching file `linux/drivers/char/Makefile'	
	patching file `linux/drivers/char/mmc/era/include/imb_isa.h'
	patching file `linux/drivers/char/mmc/era/include/imb_std.h'
	patching file `linux/drivers/char/mmc/era/shared/driver/linux/Makefile'
	patching file `linux/drivers/char/mmc/era/shared/driver/linux/main.c'
	patching file `linux/drivers/char/mmc/era/shared/driver/linux/main.h'
	patching file `linux/drivers/char/mmc/era/shared/driver/src/mmcdata.c'
	patching file `linux/drivers/char/mmc/era/shared/driver/src/mmcdrv_m.c'
	patching file `linux/drivers/char/mmc/era/shared/driver/src/mmcdrv_m.h'
	patching file `linux/drivers/char/mmc/era/shared/driver/src/osdepdrv.c'
	patching file `linux/drivers/char/mmc/era/shared/include/linux_tunnl.h'
	patching file `linux/drivers/char/mmc/era/shared/include/mmc.h'
	patching file `linux/drivers/char/mmc/era/shared/include/osdepdrv.h'

    If for some reason the patch could not to be applied on some file, one or
more .rej files will be generated. It is still possible to fix it by reading the
.rej files and doing the updates by hand. The lines starting with an '+'
character should be added and the lines starting with an '-' should be removed
from the file.

    2.4. Now you can recompile your kernel adding support to the MMC device.
The driver is located on the Character devices section. It can be compiled as 
a module or built-in on the kernel.
    For additional information on how to recompile your kernel please consult
the Kernel-HOWTO. If you do not have this HOWTO installed, download it from 
the Linux Documentation Project web site:
    http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html
