diff options
| author | bsh <bsh@NetBSD.org> | 2003-02-27 14:55:41 +0000 |
|---|---|---|
| committer | bsh <bsh@NetBSD.org> | 2003-02-27 14:55:41 +0000 |
| commit | e6ef3bc04113ae94c74a37b79f1f08d0417bc331 (patch) | |
| tree | ddd21bcf72948b0ab7dc154b7efd084d5479c9a5 /sys | |
| parent | 33bdc2efe0cae0fd533d489fd81b10ec94b732db (diff) | |
Some interrupt controllers can select polarity of interrupt signals.
add IST_LEVEL_{LOW,HIGH} and IST_EDGE_{FALLING,RISING,BOTH} for them.
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/arch/evbarm/include/intr.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/evbarm/include/intr.h b/sys/arch/evbarm/include/intr.h index fbdc82b04f1..93adb77b497 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 */ |
