lkml.org 
[lkml]   [2006]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: better leve triggered IRQ management needed


    On Sat, 29 Apr 2006, Alan Cox wrote:
    >
    > Trying to guess the current IRQ level v edge on a PC is very hard.
    > Trying to set it correctly from the driver is rather easier.

    I disagree. It's not any easier at all.

    On PC's (x86 and x86-64) we actually already set the ELCR as well as we
    can (look for "eisa_set_level_irq()"). And a driver _literally_ cannot
    change it from the system value, because of the polarity confusion.

    In the other cases (IO-APIC) we usually have it level, but when we have it
    marked as an edge, there is almost always a real reason for that too (ie
    legacy interrupt, it really _is_ edge-high, not level-low).

    Linus
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2009-11-18 23:46    [W:5.000 / U:0.140 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site