Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'mmc-v4.10-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc

Pull another MMC update from Ulf Hansson:
"Here's a second pull request for MMC for v4.10.

As a matter of fact it's only one change that moves some mmc files
around. I thought it was a good idea to get this into v4.10, as it
gives us a nice and fresh base for v4.11. Summary:

MMC core:

- Move files from the card directory to the core directory to enable
future clean-ups of the generic mmc header files and interfaces"

* tag 'mmc-v4.10-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
mmc: block: Move files to core

+71 -88
-2
drivers/mmc/Kconfig
··· 23 23 24 24 source "drivers/mmc/core/Kconfig" 25 25 26 - source "drivers/mmc/card/Kconfig" 27 - 28 26 source "drivers/mmc/host/Kconfig" 29 27 30 28 endif # MMC
-1
drivers/mmc/Makefile
··· 5 5 subdir-ccflags-$(CONFIG_MMC_DEBUG) := -DDEBUG 6 6 7 7 obj-$(CONFIG_MMC) += core/ 8 - obj-$(CONFIG_MMC) += card/ 9 8 obj-$(subst m,y,$(CONFIG_MMC)) += host/
-70
drivers/mmc/card/Kconfig
··· 1 - # 2 - # MMC/SD card drivers 3 - # 4 - 5 - comment "MMC/SD/SDIO Card Drivers" 6 - 7 - config MMC_BLOCK 8 - tristate "MMC block device driver" 9 - depends on BLOCK 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 - 17 - config MMC_BLOCK_MINORS 18 - int "Number of minors per block device" 19 - depends on MMC_BLOCK 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 - 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 - 53 - config SDIO_UART 54 - tristate "SDIO UART/GPS class support" 55 - depends on TTY 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 - 60 - config MMC_TEST 61 - tristate "MMC host test driver" 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 66 - "test" file in debugfs under each card. Note that whatever is 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.
-10
drivers/mmc/card/Makefile
··· 1 - # 2 - # Makefile for MMC/SD card drivers 3 - # 4 - 5 - obj-$(CONFIG_MMC_BLOCK) += mmc_block.o 6 - mmc_block-objs := block.o queue.o 7 - obj-$(CONFIG_MMC_TEST) += mmc_test.o 8 - 9 - obj-$(CONFIG_SDIO_UART) += sdio_uart.o 10 -
drivers/mmc/card/block.c drivers/mmc/core/block.c
drivers/mmc/card/block.h drivers/mmc/core/block.h
-2
drivers/mmc/card/mmc_test.c drivers/mmc/core/mmc_test.c
··· 1 1 /* 2 - * linux/drivers/mmc/card/mmc_test.c 3 - * 4 2 * Copyright 2007-2008 Pierre Ossman 5 3 * 6 4 * This program is free software; you can redistribute it and/or modify
-2
drivers/mmc/card/queue.c drivers/mmc/core/queue.c
··· 1 1 /* 2 - * linux/drivers/mmc/card/queue.c 3 - * 4 2 * Copyright (C) 2003 Russell King, All Rights Reserved. 5 3 * Copyright 2006-2007 Pierre Ossman 6 4 *
drivers/mmc/card/queue.h drivers/mmc/core/queue.h
+1 -1
drivers/mmc/card/sdio_uart.c drivers/mmc/core/sdio_uart.c
··· 1 1 /* 2 - * linux/drivers/mmc/card/sdio_uart.c - SDIO UART/GPS driver 2 + * SDIO UART/GPS driver 3 3 * 4 4 * Based on drivers/serial/8250.c and drivers/serial/serial_core.c 5 5 * by Russell King.
+66
drivers/mmc/core/Kconfig
··· 22 22 23 23 This driver can also be built as a module. If so, the module 24 24 will be called pwrseq_simple. 25 + 26 + config MMC_BLOCK 27 + tristate "MMC block device driver" 28 + depends on BLOCK 29 + default y 30 + help 31 + Say Y here to enable the MMC block device driver support. 32 + This provides a block device driver, which you can use to 33 + mount the filesystem. Almost everyone wishing MMC support 34 + should say Y or M here. 35 + 36 + config MMC_BLOCK_MINORS 37 + int "Number of minors per block device" 38 + depends on MMC_BLOCK 39 + range 4 256 40 + default 8 41 + help 42 + Number of minors per block device. One is needed for every 43 + partition on the disk (plus one for the whole disk). 44 + 45 + Number of total MMC minors available is 256, so your number 46 + of supported block devices will be limited to 256 divided 47 + by this number. 48 + 49 + Default is 8 to be backwards compatible with previous 50 + hardwired device numbering. 51 + 52 + If unsure, say 8 here. 53 + 54 + config MMC_BLOCK_BOUNCE 55 + bool "Use bounce buffer for simple hosts" 56 + depends on MMC_BLOCK 57 + default y 58 + help 59 + SD/MMC is a high latency protocol where it is crucial to 60 + send large requests in order to get high performance. Many 61 + controllers, however, are restricted to continuous memory 62 + (i.e. they can't do scatter-gather), something the kernel 63 + rarely can provide. 64 + 65 + Say Y here to help these restricted hosts by bouncing 66 + requests back and forth from a large buffer. You will get 67 + a big performance gain at the cost of up to 64 KiB of 68 + physical memory. 69 + 70 + If unsure, say Y here. 71 + 72 + config SDIO_UART 73 + tristate "SDIO UART/GPS class support" 74 + depends on TTY 75 + help 76 + SDIO function driver for SDIO cards that implements the UART 77 + class, as well as the GPS class which appears like a UART. 78 + 79 + config MMC_TEST 80 + tristate "MMC host test driver" 81 + help 82 + Development driver that performs a series of reads and writes 83 + to a memory card in order to expose certain well known bugs 84 + in host controllers. The tests are executed by writing to the 85 + "test" file in debugfs under each card. Note that whatever is 86 + on your card will be overwritten by these tests. 87 + 88 + This driver is only of interest to those developing or 89 + testing a host driver. Most people should say N here. 90 +
+4
drivers/mmc/core/Makefile
··· 12 12 obj-$(CONFIG_PWRSEQ_SIMPLE) += pwrseq_simple.o 13 13 obj-$(CONFIG_PWRSEQ_EMMC) += pwrseq_emmc.o 14 14 mmc_core-$(CONFIG_DEBUG_FS) += debugfs.o 15 + obj-$(CONFIG_MMC_BLOCK) += mmc_block.o 16 + mmc_block-objs := block.o queue.o 17 + obj-$(CONFIG_MMC_TEST) += mmc_test.o 18 + obj-$(CONFIG_SDIO_UART) += sdio_uart.o