Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/omap Also support interrupts of type IST_EDGE_B...
details: https://anonhg.NetBSD.org/src/rev/c08cca558205
branches: trunk
changeset: 786167:c08cca558205
user: khorben <khorben%NetBSD.org@localhost>
date: Thu Apr 18 01:33:18 2013 +0000
description:
Also support interrupts of type IST_EDGE_BOTH; tested on a Nokia N900 (OMAP3).
diffstat:
sys/arch/arm/omap/omap2_gpio.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 06ec0c0a02ad -r c08cca558205 sys/arch/arm/omap/omap2_gpio.c
--- a/sys/arch/arm/omap/omap2_gpio.c Wed Apr 17 20:40:13 2013 +0000
+++ b/sys/arch/arm/omap/omap2_gpio.c Thu Apr 18 01:33:18 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: omap2_gpio.c,v 1.14 2012/12/12 00:33:45 matt Exp $ */
+/* $NetBSD: omap2_gpio.c,v 1.15 2013/04/18 01:33:18 khorben Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -28,7 +28,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: omap2_gpio.c,v 1.14 2012/12/12 00:33:45 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: omap2_gpio.c,v 1.15 2013/04/18 01:33:18 khorben Exp $");
#define _INTR_PRIVATE
@@ -187,6 +187,8 @@
case IST_LEVEL_HIGH: gpio->gpio_level_hi_mask |= irq_mask; break;
case IST_EDGE_FALLING: gpio->gpio_edge_falling_mask |= irq_mask; break;
case IST_EDGE_RISING: gpio->gpio_edge_rising_mask |= irq_mask; break;
+ case IST_EDGE_BOTH: gpio->gpio_edge_falling_mask |= irq_mask;
+ gpio->gpio_edge_rising_mask |= irq_mask; break;
}
gpio->gpio_edge_mask =
gpio->gpio_edge_rising_mask | gpio->gpio_edge_falling_mask;
Home |
Main Index |
Thread Index |
Old Index