linux-origin
[Top] [All Lists]

irq level mapping

To: linux-origin@xxxxxxxxxxx
Subject: irq level mapping
From: kanoj@xxxxxxxxxxxxxxxxxxx (Kanoj Sarcar)
Date: Wed, 12 Apr 2000 14:47:48 -0700 (PDT)
Sender: owner-linux-origin@xxxxxxxxxxx
I just changed arch/mips64/sgi-ip27/ip27-irq.c to say

#define IRQ_TO_SWLEVEL(i)       i + 10
#define SWLEVEL_TO_IRQ(s)       s - 10


from 

#define IRQ_TO_SWLEVEL(i)       i + 7
#define SWLEVEL_TO_IRQ(s)       s - 7

This _might_ break certain things, so if you do identify this as causing
a problem, feel free to revert this change. I tested kernel boots, it 
seems to be working ...

On a different note, how do the different drivers determine their
irqs and call request_irq() for their own irqs?

Kanoj


<Prev in Thread] Current Thread [Next in Thread>