Some interrupt controllers can select polarity of interrupt signals.

add IST_LEVEL_{LOW,HIGH} and IST_EDGE_{FALLING,RISING,BOTH} for them.
This commit is contained in:
bsh 2003-02-27 14:55:41 +00:00
parent 33bdc2efe0
commit e6ef3bc041
1 changed files with 7 additions and 1 deletions

View File

@ -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 */