the bitrig patrick_sdhc branch has been created by patrick.

it is 0 commits behind master, and 1 commit ahead.

commit d77eb3e0774aa6da34e73f84694e141833481628
diff: https://github.com/bitrig/bitrig/commit/d77eb3e
author: Patrick Wildt <[email protected]>
date: Sun Feb 22 22:46:30 2015 +0100

sdhc: add support for SD 3.0 specification

Version 3.0 adds higher frequencies. These are encoded a bit
differently in the capabilities registers.

Therefore we need to find out and store the spec version
and check for that when calculating the frequency.

Also, the divisor is calculated differently in version 3.0.

While there, add support to be able to pass the clkbase
from the attachment driver.

>From NetBSD.

M       sys/dev/sdmmc/sdhc.c
M       sys/dev/sdmmc/sdhcreg.h
M       sys/dev/sdmmc/sdhcvar.h

Reply via email to