Module Name: src Committed By: mbalmer Date: Sun Nov 13 16:56:15 UTC 2011
Modified Files: src/lib/lua/gpio: gpio.c src/sys/sys: gpio.h Log Message: Remove an unused constant. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/lua/gpio/gpio.c cvs rdiff -u -r1.12 -r1.13 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/lib/lua/gpio/gpio.c diff -u src/lib/lua/gpio/gpio.c:1.5 src/lib/lua/gpio/gpio.c:1.6 --- src/lib/lua/gpio/gpio.c:1.5 Sun Nov 13 13:37:24 2011 +++ src/lib/lua/gpio/gpio.c Sun Nov 13 16:56:15 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: gpio.c,v 1.5 2011/11/13 13:37:24 mbalmer Exp $ */ +/* $NetBSD: gpio.c,v 1.6 2011/11/13 16:56:15 mbalmer Exp $ */ /* * Copyright (c) 2011 Marc Balmer <m...@msys.ch> @@ -247,8 +247,6 @@ static const struct constant gpio_consta { "PIN_INVOUT", GPIO_PIN_INVOUT }, { "PIN_USER", GPIO_PIN_USER }, { "PIN_PULSATE", GPIO_PIN_PULSATE }, - { "PIN_INTR", GPIO_PIN_INTR }, - { "PIN_INTR_HIGH", GPIO_PIN_INTR_HIGH }, { "PIN_SET", GPIO_PIN_SET }, { NULL, 0 } }; Index: src/sys/sys/gpio.h diff -u src/sys/sys/gpio.h:1.12 src/sys/sys/gpio.h:1.13 --- src/sys/sys/gpio.h:1.12 Sun Nov 13 13:20:02 2011 +++ src/sys/sys/gpio.h Sun Nov 13 16:56:15 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: gpio.h,v 1.12 2011/11/13 13:20:02 mbalmer Exp $ */ +/* $NetBSD: gpio.h,v 1.13 2011/11/13 16:56:15 mbalmer Exp $ */ /* $OpenBSD: gpio.h,v 1.7 2008/11/26 14:51:20 mbalmer Exp $ */ /* * Copyright (c) 2009, 2011 Marc Balmer <m...@msys.ch> @@ -42,8 +42,6 @@ #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 */