]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pasemi: Fix Nemo SB600 i8259 interrupts.
authorDarren Stevens <darren@stevens-zone.net>
Wed, 31 Aug 2016 12:24:40 +0000 (13:24 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 13 Sep 2016 07:37:08 +0000 (17:37 +1000)
commitdb6965589f7e5fd62769795c76b2270c7d95ee97
tree388165909b9e98d374508470ff2f20c089435687
parent4eb459205094969bb0cda4df01b9a6c8bcc8db16
powerpc/pasemi: Fix Nemo SB600 i8259 interrupts.

The device tree on the Nemo passes all of the i8259 interrupts with
numbers between 212 and 222, and points their interrupt-parent property
to the pasemi-opic, requiring custom patches to the kernel. Fix the
values so that they can be controlled by the generic ppc i8259 code.

Signed-off-by: Darren Stevens <darren@stevens-zone.net>
[mpe: Rework deeply nested if and boundary checks]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/prom_init.c