Module Name: src
Committed By: matt
Date: Thu Jun 23 00:46:38 UTC 2011
Modified Files:
src/sys/sys: gpio.h
Log Message:
Add GPIO_PIN_INTR and GPIO_PIN_INTR_HIGH (placeholders for now).
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/sys/gpio.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/gpio.h
diff -u src/sys/sys/gpio.h:1.7 src/sys/sys/gpio.h:1.8
--- src/sys/sys/gpio.h:1.7 Fri Sep 25 20:27:50 2009
+++ src/sys/sys/gpio.h Thu Jun 23 00:46:37 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: gpio.h,v 1.7 2009/09/25 20:27:50 mbalmer Exp $ */
+/* $NetBSD: gpio.h,v 1.8 2011/06/23 00:46:37 matt Exp $ */
/* $OpenBSD: gpio.h,v 1.7 2008/11/26 14:51:20 mbalmer Exp $ */
/*
* Copyright (c) 2009 Marc Balmer <[email protected]>
@@ -40,6 +40,8 @@
#define GPIO_PIN_INVOUT 0x0200 /* invert output */
#define GPIO_PIN_USER 0x0400 /* user != 0 can access */
#define GPIO_PIN_PULSATE 0x0800 /* pulsate in hardware */
+#define GPIO_PIN_INTR 0x1000 /* can be as an interrupt */
+#define GPIO_PIN_INTR_HIGH 0x2000 /* interrupt leading edge high */
#define GPIO_PIN_SET 0x8000 /* set for securelevel access */
/* GPIO controller description */