Module Name:    src
Committed By:   mlelstv
Date:           Sun Dec  6 07:31:28 UTC 2015

Modified Files:
        src/usr.sbin/gpioctl: gpioctl.c

Log Message:
pass new pin configuration flags to driver.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/gpioctl/gpioctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/gpioctl/gpioctl.c
diff -u src/usr.sbin/gpioctl/gpioctl.c:1.21 src/usr.sbin/gpioctl/gpioctl.c:1.22
--- src/usr.sbin/gpioctl/gpioctl.c:1.21	Thu Jan 29 03:30:06 2015
+++ src/usr.sbin/gpioctl/gpioctl.c	Sun Dec  6 07:31:28 2015
@@ -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 <[email protected]>
@@ -64,6 +64,18 @@ static const struct bitstr {
 	{ 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 },
 };
 

Reply via email to