Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/gpioctl pass new pin configuration flags to driver.



details:   https://anonhg.NetBSD.org/src/rev/be7b2a3d8465
branches:  trunk
changeset: 342101:be7b2a3d8465
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Sun Dec 06 07:31:28 2015 +0000

description:
pass new pin configuration flags to driver.

diffstat:

 usr.sbin/gpioctl/gpioctl.c |  14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 6bb6c0aa7d00 -r be7b2a3d8465 usr.sbin/gpioctl/gpioctl.c
--- a/usr.sbin/gpioctl/gpioctl.c        Sun Dec 06 04:27:05 2015 +0000
+++ b/usr.sbin/gpioctl/gpioctl.c        Sun Dec 06 07:31:28 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gpioctl.c,v 1.21 2015/01/29 03:30:06 christos Exp $ */
+/* $NetBSD: gpioctl.c,v 1.22 2015/12/06 07:31:28 mlelstv Exp $ */
 
 /*
  * Copyright (c) 2008, 2010, 2011, 2013 Marc Balmer <mbalmer%NetBSD.org@localhost>
@@ -64,6 +64,18 @@
        { GPIO_PIN_INVIN, "iin" },
        { GPIO_PIN_INVOUT, "iout" },
        { GPIO_PIN_PULSATE, "pulsate" },
+       { GPIO_PIN_ALT0, "alt0" },
+       { GPIO_PIN_ALT1, "alt1" },
+       { GPIO_PIN_ALT2, "alt2" },
+       { GPIO_PIN_ALT3, "alt3" },
+       { GPIO_PIN_ALT4, "alt4" },
+       { GPIO_PIN_ALT5, "alt5" },
+       { GPIO_PIN_ALT6, "alt6" },
+       { GPIO_PIN_ALT7, "alt7" },
+       { GPIO_PIN_ALT7, "events" },
+       { GPIO_PIN_ALT7, "level" },
+       { GPIO_PIN_ALT7, "falling" },
+       { GPIO_PIN_USER, "user" },
        { 0, NULL },
 };
 



Home | Main Index | Thread Index | Old Index