2007-02-11 18:57:36 +00:00
|
|
|
#
|
|
|
|
# MMC/SD card drivers
|
|
|
|
#
|
|
|
|
|
2008-09-07 11:16:58 +00:00
|
|
|
comment "MMC/SD/SDIO Card Drivers"
|
2007-02-11 18:57:36 +00:00
|
|
|
|
|
|
|
config MMC_BLOCK
|
|
|
|
tristate "MMC block device driver"
|
2007-05-08 20:30:32 +00:00
|
|
|
depends on BLOCK
|
2007-02-11 18:57:36 +00:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
Say Y here to enable the MMC block device driver support.
|
|
|
|
This provides a block device driver, which you can use to
|
|
|
|
mount the filesystem. Almost everyone wishing MMC support
|
|
|
|
should say Y or M here.
|
|
|
|
|
2010-09-18 01:19:57 +00:00
|
|
|
config MMC_BLOCK_MINORS
|
|
|
|
int "Number of minors per block device"
|
2011-01-04 17:39:20 +00:00
|
|
|
depends on MMC_BLOCK
|
2010-09-18 01:19:57 +00:00
|
|
|
range 4 256
|
|
|
|
default 8
|
|
|
|
help
|
|
|
|
Number of minors per block device. One is needed for every
|
|
|
|
partition on the disk (plus one for the whole disk).
|
|
|
|
|
|
|
|
Number of total MMC minors available is 256, so your number
|
|
|
|
of supported block devices will be limited to 256 divided
|
|
|
|
by this number.
|
|
|
|
|
|
|
|
Default is 8 to be backwards compatible with previous
|
|
|
|
hardwired device numbering.
|
|
|
|
|
|
|
|
If unsure, say 8 here.
|
|
|
|
|
2007-05-11 22:26:16 +00:00
|
|
|
config MMC_BLOCK_BOUNCE
|
|
|
|
bool "Use bounce buffer for simple hosts"
|
|
|
|
depends on MMC_BLOCK
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
SD/MMC is a high latency protocol where it is crucial to
|
|
|
|
send large requests in order to get high performance. Many
|
|
|
|
controllers, however, are restricted to continuous memory
|
|
|
|
(i.e. they can't do scatter-gather), something the kernel
|
|
|
|
rarely can provide.
|
|
|
|
|
|
|
|
Say Y here to help these restricted hosts by bouncing
|
|
|
|
requests back and forth from a large buffer. You will get
|
|
|
|
a big performance gain at the cost of up to 64 KiB of
|
|
|
|
physical memory.
|
|
|
|
|
|
|
|
If unsure, say Y here.
|
|
|
|
|
2007-06-30 06:04:21 +00:00
|
|
|
config SDIO_UART
|
|
|
|
tristate "SDIO UART/GPS class support"
|
|
|
|
help
|
|
|
|
SDIO function driver for SDIO cards that implements the UART
|
|
|
|
class, as well as the GPS class which appears like a UART.
|
|
|
|
|
2007-08-12 12:23:50 +00:00
|
|
|
config MMC_TEST
|
|
|
|
tristate "MMC host test driver"
|
|
|
|
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
|
2011-02-10 10:41:02 +00:00
|
|
|
"test" file in debugfs under each card. Note that whatever is
|
2007-08-12 12:23:50 +00:00
|
|
|
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.
|