DragonFly On-Line Manual Pages

Search: Section:  


SDHCI(4)              DragonFly Kernel Interfaces Manual              SDHCI(4)

NAME

sdhci -- PCI SD Host Controller bridge driver

SYNOPSIS

To compile this driver into the kernel, place the following lines in your kernel configuration file: device mmc device mmcsd device sdhci Alternatively, to load the driver as a module at boot time, place the following lines in loader.conf(5): mmc_load="YES" mmcsd_load="YES" sdhci_pci_load="YES"

DESCRIPTION

The sdhci driver supports PCI devices with class 8 and subclass 5 according to SD Host Controller Specification. Driver supports up to six high speed 4bit MMC/SD slots per controller. Driver attaches mmc bus to the respective slot on card insertion and detaches it on card removing.

HARDWARE

The sdhci driver supports different specification compatible chips. The following chips have been verified to work: o ENE CB712 o ENE CB714 o RICOH R5C822 o RICOH R5CE823 o TI PCIXX21/XX11

LOADER TUNABLES

hw.sdhci.debug Set verbose debugging level. Levels 0 to 3 are currently used. hw.sdhci.adma2_test Set to 1 to allow using ADMA2 transfer mode on untested controller models. hw.sdhci.sdma_disable Set to 1 to disable the SDMA transfer mode. hw.sdhci.adma2_disable Set to 1 to disable the ADMA2 transfer mode. hw.sdhci.quirk_clear Set bit mask of quirks to clear. hw.sdhci.quirk_set Set bit mask of quirks to set, this is applied after the clearing mask.

SEE ALSO

mmc(4), mmcsd(4) SD Specifications, Part 2, SD Host Controller, Simplified Specification.

HISTORY

The sdhci driver was imported from FreeBSD into DragonFly 2.7 and updated by Markus Pfeiffer <profmakx@dragonflybsd.org>.

AUTHORS

Alexander Motin <mav@FreeBSD.org>

BUGS

Many of existing SD controller chips have some nonstandard requirements, proprietary registers and hardware bugs, requiring additional handling. ENE chips are handled to work fine, while some revisions of RICOH and TI controllers still do not see cards without some additional initialization. DragonFly 4.7 May 13, 2017 DragonFly 4.7

Search: Section: