git: sys/dev/disk/sdhci: Add sdhci_acpi for attaching via acpi resources.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Mon Mar 21 14:26:25 PDT 2016


commit 21f9f90c115d9686fd7b21b30f30c44eb04d781c
Author: Imre Vadász <imre at vdsz.com>
Date:   Thu Mar 10 01:14:11 2016 +0100

    sys/dev/disk/sdhci: Add sdhci_acpi for attaching via acpi resources.
    
    * Only attaches on Bay- and Cherry-Trail atom devices.
    
    * Not fully functional yet. At least this still needs fixes in mmc(4)
      (to get eMMC working) and ACPI improvements (for actually getting
      SD-card bus power enabled via the _PS0 acpi method).

Summary of changes:
 sys/bus/mmc/mmc.c                      |   1 +
 sys/conf/files                         |   1 +
 sys/dev/disk/sdhci/Makefile            |   2 +-
 sys/dev/disk/sdhci/sdhci_acpi.c        | 306 +++++++++++++++++++++++++++++++++
 sys/dev/disk/sdhci/sdhci_acpi/Makefile |  12 ++
 5 files changed, 321 insertions(+), 1 deletion(-)
 create mode 100644 sys/dev/disk/sdhci/sdhci_acpi.c
 create mode 100644 sys/dev/disk/sdhci/sdhci_acpi/Makefile

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/21f9f90c115d9686fd7b21b30f30c44eb04d781c


-- 
DragonFly BSD source repository


More information about the Commits mailing list