git: cherryview_push gpio_acpi: Add allocate/release functions for GpioIo pins.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sat May 28 16:37:14 PDT 2016


commit a3219400702ee2991961966f8dca63119d0b6e0e
Author: Imre Vadász <imre at vdsz.com>
Date:   Sat Apr 30 18:46:11 2016 +0200

    gpio_acpi: Add allocate/release functions for GpioIo pins.
    
    * This slightly simplifies the read_pin and write_pin functions, and
      configuration errors should now be found when allocating the pin,
      instead of causing a panic in read_pin() or write_pin().

Summary of changes:
 sys/bus/gpio/gpio_acpi/gpio_acpi.c        | 138 +++++++++++++++++++++---------
 sys/bus/gpio/gpio_if.m                    |  22 +++--
 sys/bus/gpio/gpio_intel/gpio_cherryview.c |  51 ++++++++---
 sys/bus/gpio/gpio_intel/gpio_intel.c      | 103 ++++++++++++++++++----
 sys/bus/gpio/gpio_intel/gpio_intel_var.h  |   9 ++
 5 files changed, 252 insertions(+), 71 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a3219400702ee2991961966f8dca63119d0b6e0e


-- 
DragonFly BSD source repository



More information about the Commits mailing list