the bitrig master branch has been updated by patrick with 2 new commits: commit 8d83db8d88655661c1a9e74254084bdcb804d674 diff: https://github.com/bitrig/bitrig/commit/8d83db8 author: Patrick Wildt <[email protected]> date: Mon Feb 23 00:06:04 2015 +0100
sdmmc: decode transfer speed from CSD Instead of hardcoding a specific speed, decode it from the CSD and find a matching one by comparing it to the bus clock. >From NetBSD. no objections pedro@ M sys/dev/sdmmc/sdhc.c M sys/dev/sdmmc/sdmmc.c M sys/dev/sdmmc/sdmmc_mem.c M sys/dev/sdmmc/sdmmcchip.h M sys/dev/sdmmc/sdmmcreg.h M sys/dev/sdmmc/sdmmcvar.h commit 20990c18b53ffdaae0bc9aecf08925c1e491df8e diff: https://github.com/bitrig/bitrig/commit/20990c1 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. no objections pedro@ M sys/dev/sdmmc/sdhc.c M sys/dev/sdmmc/sdhcreg.h M sys/dev/sdmmc/sdhcvar.h
