From e6ef3bc04113ae94c74a37b79f1f08d0417bc331 Mon Sep 17 00:00:00 2001 From: bsh Date: Thu, 27 Feb 2003 14:55:41 +0000 Subject: [PATCH] Some interrupt controllers can select polarity of interrupt signals. add IST_LEVEL_{LOW,HIGH} and IST_EDGE_{FALLING,RISING,BOTH} for them. --- sys/arch/evbarm/include/intr.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sys/arch/evbarm/include/intr.h b/sys/arch/evbarm/include/intr.h index fbdc82b04f1d..93adb77b4978 100644 --- a/sys/arch/evbarm/include/intr.h +++ b/sys/arch/evbarm/include/intr.h @@ -1,4 +1,4 @@ -/* $NetBSD: intr.h,v 1.10 2003/01/02 23:38:04 thorpej Exp $ */ +/* $NetBSD: intr.h,v 1.11 2003/02/27 14:55:41 bsh Exp $ */ /* * Copyright (c) 2001, 2003 Wasabi Systems, Inc. @@ -64,6 +64,12 @@ #define IST_EDGE 2 /* edge-triggered */ #define IST_LEVEL 3 /* level-triggered */ +#define IST_LEVEL_LOW IST_LEVEL +#define IST_LEVEL_HIGH 4 +#define IST_EDGE_FALLING IST_EDGE +#define IST_EDGE_RISING 5 +#define IST_EDGE_BOTH 6 + #ifdef __OLD_INTERRUPT_CODE /* XXX XXX XXX */ /* Software interrupt priority levels */