For MMC/SD, on Linux, cache the kernel provided CID, CSD and SCR

registers from /sys.
This commit is contained in:
2017-09-28 19:14:50 +00:00
parent c5acf2082e
commit cc6627ccbe
2 changed files with 65 additions and 0 deletions

View File

@@ -62,6 +62,12 @@ namespace DiscImageChef.Devices
readonly bool pcmcia;
readonly byte[] cis;
// MMC and SecureDigital, values that need to be get with card idle, something that may
// not be possible to do but usually is already done by the SDHCI driver.
readonly byte[] cachedCsd;
readonly byte[] cachedCid;
readonly byte[] cachedScr;
/// <summary>
/// Gets the Platform ID for this device
/// </summary>