[PATCH] ia64: iosapic: self-documenting polarity/trigger arguments
Make interrupt registration functions take named constants for polarity and trigger mode. Old -> new magic decoder ring: polarity 0 -> IOSAPIC_POL_LOW(#defined to 1) polarity 1 -> IOSAPIC_POL_HIGH(#defined to 0) trigger 0 -> IOSAPIC_LEVEL(#defined to 1) trigger 1 -> IOSAPIC_EDGE(#defined to 0)
Showing
Please register or sign in to comment