Skip to content

Commit

Permalink
mmc: add bus handler
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pierre Ossman committed May 1, 2007
1 parent b2670b1 commit 7ea239d
Show file tree
Hide file tree
Showing 6 changed files with 1,041 additions and 683 deletions.
2 changes: 1 addition & 1 deletion drivers/mmc/core/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ ifeq ($(CONFIG_MMC_DEBUG),y)
endif

obj-$(CONFIG_MMC) += mmc_core.o
mmc_core-y := core.o sysfs.o mmc_ops.o sd_ops.o
mmc_core-y := core.o sysfs.o mmc.o mmc_ops.o sd.o sd_ops.o

Loading

0 comments on commit 7ea239d

Please sign in to comment.