blob: 57e4416b9ef0fec31df7f91fd37b73b418771c0d [file] [log] [blame]
Pierre Ossman1c6a0712007-02-11 19:57:36 +01001#
2# MMC/SD card drivers
3#
4
Pierre Ossman57105732008-09-07 13:16:58 +02005comment "MMC/SD/SDIO Card Drivers"
Pierre Ossman1c6a0712007-02-11 19:57:36 +01006
7config MMC_BLOCK
8 tristate "MMC block device driver"
Jan Engelhardt790864d2007-05-08 22:30:32 +02009 depends on BLOCK
Pierre Ossman1c6a0712007-02-11 19:57:36 +010010 default y
11 help
12 Say Y here to enable the MMC block device driver support.
13 This provides a block device driver, which you can use to
14 mount the filesystem. Almost everyone wishing MMC support
15 should say Y or M here.
16
Olof Johansson5e71b7a2010-09-17 21:19:57 -040017config MMC_BLOCK_MINORS
18 int "Number of minors per block device"
19 range 4 256
20 default 8
21 help
22 Number of minors per block device. One is needed for every
23 partition on the disk (plus one for the whole disk).
24
25 Number of total MMC minors available is 256, so your number
26 of supported block devices will be limited to 256 divided
27 by this number.
28
29 Default is 8 to be backwards compatible with previous
30 hardwired device numbering.
31
32 If unsure, say 8 here.
33
Pierre Ossman98ccf142007-05-12 00:26:16 +020034config MMC_BLOCK_BOUNCE
35 bool "Use bounce buffer for simple hosts"
36 depends on MMC_BLOCK
37 default y
38 help
39 SD/MMC is a high latency protocol where it is crucial to
40 send large requests in order to get high performance. Many
41 controllers, however, are restricted to continuous memory
42 (i.e. they can't do scatter-gather), something the kernel
43 rarely can provide.
44
45 Say Y here to help these restricted hosts by bouncing
46 requests back and forth from a large buffer. You will get
47 a big performance gain at the cost of up to 64 KiB of
48 physical memory.
49
50 If unsure, say Y here.
51
Nicolas Pitre6e418a92007-06-30 02:04:21 -040052config SDIO_UART
53 tristate "SDIO UART/GPS class support"
Nicolas Pitre6e418a92007-06-30 02:04:21 -040054 help
55 SDIO function driver for SDIO cards that implements the UART
56 class, as well as the GPS class which appears like a UART.
57
Pierre Ossman88ae6002007-08-12 14:23:50 +020058config MMC_TEST
59 tristate "MMC host test driver"
60 default n
61 help
62 Development driver that performs a series of reads and writes
63 to a memory card in order to expose certain well known bugs
64 in host controllers. The tests are executed by writing to the
65 "test" file in sysfs under each card. Note that whatever is
66 on your card will be overwritten by these tests.
67
68 This driver is only of interest to those developing or
69 testing a host driver. Most people should say N here.