#28 Prevent 2.6 kernel from disabling conet interrupt

closed
nobody
None
5
2004-06-23
2004-06-19
Luca
No

In Linux 2.6, IRQ routines should return a value that
indicates whether the IRQ was for the device the
routine handles.

However, the conet IRQ routine still has the old void
return signature, which means that it returns a random
value.

Sometimes the value matches the "unhandled IRQ"; this
causes the kernel to determine that the interrupt is
spurious and to disable it. Conet then becomes unusable.

This patch adds the proper irqreturn_t return type and
IRQ_HANDLED return value.

Applies to 19/Jun/2004 snapshot.

Discussion

  • Logged In: YES
    user_id=30412

    This is a great enhancement, is there supposed to be a patch
    file attached? If so I'm not seeing it. If not I'll work
    on this and get it added.

    Thanks for taking the time to contribute.

    George

     
  • Luca
    Luca
    2004-06-22

    Patch

     
    Attachments
  • Luca
    Luca
    2004-06-22

    Logged In: YES
    user_id=1019745

    Sorry, I probably forgot to check the upload checkbox.
    Now it should be attached.

     
  • Logged In: YES
    user_id=30412

    Got it, I'll get this added to the CVS tomorrow morning.

     
  • Logged In: YES
    user_id=30412

    Got it, I'll get this added to the CVS tomorrow morning.

     
    • status: open --> closed