Pierre Ossman | 1c6a071 | 2007-02-11 19:57:36 +0100 | [diff] [blame] | 1 | # |
| 2 | # MMC/SD card drivers |
| 3 | # |
| 4 | |
Pierre Ossman | 5710573 | 2008-09-07 13:16:58 +0200 | [diff] [blame] | 5 | comment "MMC/SD/SDIO Card Drivers" |
Pierre Ossman | 1c6a071 | 2007-02-11 19:57:36 +0100 | [diff] [blame] | 6 | |
| 7 | config MMC_BLOCK |
| 8 | tristate "MMC block device driver" |
Jan Engelhardt | 790864d | 2007-05-08 22:30:32 +0200 | [diff] [blame] | 9 | depends on BLOCK |
Pierre Ossman | 1c6a071 | 2007-02-11 19:57:36 +0100 | [diff] [blame] | 10 | 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 Johansson | 5e71b7a | 2010-09-17 21:19:57 -0400 | [diff] [blame] | 17 | config MMC_BLOCK_MINORS |
| 18 | int "Number of minors per block device" |
Chris Ball | b37427b | 2011-01-04 12:39:20 -0500 | [diff] [blame] | 19 | depends on MMC_BLOCK |
Olof Johansson | 5e71b7a | 2010-09-17 21:19:57 -0400 | [diff] [blame] | 20 | range 4 256 |
| 21 | default 8 |
| 22 | help |
| 23 | Number of minors per block device. One is needed for every |
| 24 | partition on the disk (plus one for the whole disk). |
| 25 | |
| 26 | Number of total MMC minors available is 256, so your number |
| 27 | of supported block devices will be limited to 256 divided |
| 28 | by this number. |
| 29 | |
| 30 | Default is 8 to be backwards compatible with previous |
| 31 | hardwired device numbering. |
| 32 | |
| 33 | If unsure, say 8 here. |
| 34 | |
Pierre Ossman | 98ccf14 | 2007-05-12 00:26:16 +0200 | [diff] [blame] | 35 | config MMC_BLOCK_BOUNCE |
| 36 | bool "Use bounce buffer for simple hosts" |
| 37 | depends on MMC_BLOCK |
| 38 | default y |
| 39 | help |
| 40 | SD/MMC is a high latency protocol where it is crucial to |
| 41 | send large requests in order to get high performance. Many |
| 42 | controllers, however, are restricted to continuous memory |
| 43 | (i.e. they can't do scatter-gather), something the kernel |
| 44 | rarely can provide. |
| 45 | |
| 46 | Say Y here to help these restricted hosts by bouncing |
| 47 | requests back and forth from a large buffer. You will get |
| 48 | a big performance gain at the cost of up to 64 KiB of |
| 49 | physical memory. |
| 50 | |
| 51 | If unsure, say Y here. |
| 52 | |
Nicolas Pitre | 6e418a9 | 2007-06-30 02:04:21 -0400 | [diff] [blame] | 53 | config SDIO_UART |
| 54 | tristate "SDIO UART/GPS class support" |
Joe Millenbach | 4f73bc4 | 2013-01-17 22:44:22 -0800 | [diff] [blame] | 55 | depends on TTY |
Nicolas Pitre | 6e418a9 | 2007-06-30 02:04:21 -0400 | [diff] [blame] | 56 | help |
| 57 | SDIO function driver for SDIO cards that implements the UART |
| 58 | class, as well as the GPS class which appears like a UART. |
| 59 | |
Pierre Ossman | 88ae600 | 2007-08-12 14:23:50 +0200 | [diff] [blame] | 60 | config MMC_TEST |
| 61 | tristate "MMC host test driver" |
Pierre Ossman | 88ae600 | 2007-08-12 14:23:50 +0200 | [diff] [blame] | 62 | help |
| 63 | Development driver that performs a series of reads and writes |
| 64 | to a memory card in order to expose certain well known bugs |
| 65 | in host controllers. The tests are executed by writing to the |
Will Newton | 50cec37 | 2011-02-10 10:41:02 +0000 | [diff] [blame] | 66 | "test" file in debugfs under each card. Note that whatever is |
Pierre Ossman | 88ae600 | 2007-08-12 14:23:50 +0200 | [diff] [blame] | 67 | on your card will be overwritten by these tests. |
| 68 | |
| 69 | This driver is only of interest to those developing or |
| 70 | testing a host driver. Most people should say N here. |