• Bjorn Helgaas's avatar
    [PATCH] ia64: iosapic: self-documenting polarity/trigger arguments · 65f93f19
    Bjorn Helgaas authored
    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)
    65f93f19
iosapic.c 20.3 KB