Skip to content

Commit 88ae600

Browse files
author
Pierre Ossman
committed
mmc: mmc host test driver
A dummy driver that performs a series of requests that are often mis- handled by host drivers. Signed-off-by: Pierre Ossman <[email protected]>
1 parent df48dd0 commit 88ae600

File tree

3 files changed

+905
-0
lines changed

3 files changed

+905
-0
lines changed

drivers/mmc/card/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,15 @@ config SDIO_UART
3939
SDIO function driver for SDIO cards that implements the UART
4040
class, as well as the GPS class which appears like a UART.
4141

42+
config MMC_TEST
43+
tristate "MMC host test driver"
44+
default n
45+
help
46+
Development driver that performs a series of reads and writes
47+
to a memory card in order to expose certain well known bugs
48+
in host controllers. The tests are executed by writing to the
49+
"test" file in sysfs under each card. Note that whatever is
50+
on your card will be overwritten by these tests.
51+
52+
This driver is only of interest to those developing or
53+
testing a host driver. Most people should say N here.

drivers/mmc/card/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ endif
88

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

1213
obj-$(CONFIG_SDIO_UART) += sdio_uart.o
1314

0 commit comments

Comments
 (0)