Skip to content

Commit

Permalink
mmc: mmc host test driver
Browse files Browse the repository at this point in the history
A dummy driver that performs a series of requests that are often mis-
handled by host drivers.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
  • Loading branch information
Pierre Ossman committed May 14, 2008
1 parent df48dd0 commit 88ae600
Show file tree
Hide file tree
Showing 3 changed files with 905 additions and 0 deletions.
12 changes: 12 additions & 0 deletions drivers/mmc/card/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,15 @@ config SDIO_UART
SDIO function driver for SDIO cards that implements the UART
class, as well as the GPS class which appears like a UART.

config MMC_TEST
tristate "MMC host test driver"
default n
help
Development driver that performs a series of reads and writes
to a memory card in order to expose certain well known bugs
in host controllers. The tests are executed by writing to the
"test" file in sysfs under each card. Note that whatever is
on your card will be overwritten by these tests.

This driver is only of interest to those developing or
testing a host driver. Most people should say N here.
1 change: 1 addition & 0 deletions drivers/mmc/card/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ endif

obj-$(CONFIG_MMC_BLOCK) += mmc_block.o
mmc_block-objs := block.o queue.o
obj-$(CONFIG_MMC_TEST) += mmc_test.o

obj-$(CONFIG_SDIO_UART) += sdio_uart.o

Loading

0 comments on commit 88ae600

Please sign in to comment.