Thread (58 messages) 58 messages, 15 authors, 2011-12-07

Re: [PATCH] ata: Don't use NO_IRQ in pata_of_platform driver

From: Rob Herring <hidden>
Date: 2011-12-06 19:56:06
Also in: linux-arm-kernel, linux-ide, linux-next, lkml

On 12/06/2011 05:49 AM, Russell King - ARM Linux wrote:
On Tue, Dec 06, 2011 at 11:37:35AM +0000, Dave Martin wrote:
quoted
1) All OF code and drivers should be migrating to use 0 instead of NO_IRQ
   for the no-interrupt case.  Code which receives irq numbers directly
   from the OF framework and refers to NO_IRQ, or expects 0 to be a valid
   needs to be fixed.

2) Where we hit a problem, board code needs to be adapted to remap HW IRQs
   0-15 to different software values.  (This could be done using irq
   domains, or not)
No AMBA driver I'm aware of ever uses an IRQ number 0 or is passed such
an IRQ number.
The watchdog on VersatileAB is on Linux IRQ0. This is easily fixed with
VIC irqdomain patches which are queued up.

Rob
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help