Chinaunix首页 | 论坛 | 博客
  • 博客访问: 53872
  • 博文数量: 22
  • 博客积分: 975
  • 博客等级: 准尉
  • 技术积分: 222
  • 用 户 组: 普通用户
  • 注册时间: 2009-03-02 21:41
文章分类
文章存档

2011年(8)

2010年(8)

2009年(6)

我的朋友

分类: LINUX

2011-02-22 13:29:29

The golden blocks represent the whole e.MMC/SD/SDIO driver stack. Block driver is located in /drivers/mmc/block, protocol bus driver (e.MMC/SD/SDIO) is located in /drivers/mmc/core, and host controller driver can be found at /drivers/mmc/host.

In MFLD platform, SDIO device driver is developed by Comms teams who own Comms devices (TI Wifi device).

The current Linux driver consists of the following kernel driver stack:

Ÿ  Host controller driver (sdhci): Driver for the standard e.MMC/SD/SDIO host controllers. Registers itself with the PCI bus subsystem, so that when sdhci is loaded and the host controller is present in the PCI bus the host controller will be probed, configured and initialized.  sdhci calls routines in mmc_core.

Ÿ  Protocol driver (mmc_core): implements the SD, MMC and SDIO protocols.  Properly detects and initializes SD, MMC or SDIO devices in the MMC bus.  Defines functions to read and write data to and from devices, so that higher level layers don’t have to issue MMC commands directly.

Ÿ  Block driver (mmc_block): abstracts an SD or e.MMC/MMC card as a standard Linux block kernel device, that is, as a random-access disk. Once the block device is available to the user (e.g. via /dev/mmc0), the user can partition the device (e.g. using fdisk), format with a file system (e.g. mkfs.ext3) or access the device with the ‘mount’ command.  mmc_block also calls routines in mmc_core.

阅读(1070) | 评论(1) | 转发(0) |
0

上一篇:编译工具

下一篇:sdhci probe trace

给主人留下些什么吧!~~

chinaunix网友2011-03-06 08:54:39

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com