]> err.no Git - linux-2.6/commit
mmc: add bus handler
authorPierre Ossman <drzeus@drzeus.cx>
Sat, 30 Dec 2006 23:11:32 +0000 (00:11 +0100)
committerPierre Ossman <drzeus@drzeus.cx>
Tue, 1 May 2007 11:41:06 +0000 (13:41 +0200)
commit7ea239d9e6d6993469a6a8ca83ff23834dfc3fce
tree40629c00e317ca8f4ce0a6394dcb4b7535e7b7ab
parentb2670b1c6ddd54be4a0f72f853122510ea5ef285
mmc: add bus handler

Delegate protocol handling to "bus handlers". This allows the core to
just handle the task of arbitrating the bus. Initialisation and
pampering of cards is now done by the different bus handlers.

This design also allows MMC and SD (and later SDIO) to be more cleanly
separated, allowing easier maintenance.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/core/Makefile
drivers/mmc/core/core.c
drivers/mmc/core/core.h
drivers/mmc/core/mmc.c [new file with mode: 0644]
drivers/mmc/core/sd.c [new file with mode: 0644]
include/linux/mmc/host.h