]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sh: sh775x/titan fixes for irq header changes.
authorJamie Lenehan <lenehan@twibble.org>
Wed, 6 Dec 2006 03:05:02 +0000 (12:05 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 6 Dec 2006 03:05:02 +0000 (12:05 +0900)
commitea0f8feaa041f3ccec3d6b8ee51325b177daef06
tree261c7d75e5caccbaface63370bae029ecd81b98a
parentfe9687dec0400c6de7187ab5efa91facd958ca84
sh: sh775x/titan fixes for irq header changes.

The following moves the creation of IPR interupts into setup-7750.c
and updates a few other things to make it all work after the "Drop
CPU subtype IRQ headers" commit. It boots and runs fine on my titan
board.

 - adds an ipr_idx to the ipr_data and uses a function in the subtype
   code to calculate the address of the IPR registers

 - adds a function to enable individual interrupt mode for externals
   in the subtype code and calls that from the titan board code
   instead of doing it directly.

 - I changed the shift in the ipr_data to be the actual # of bits to
   shift, instead of the numnber / 4 - made it easier to match with
   the manual.

Signed-off-by: Jamie Lenehan <lenehan@twibble.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig
arch/sh/boards/titan/setup.c
arch/sh/drivers/pci/ops-titan.c
arch/sh/kernel/cpu/irq/Makefile
arch/sh/kernel/cpu/irq/ipr.c
arch/sh/kernel/cpu/sh4/setup-sh7750.c
arch/sh/kernel/irq.c
arch/sh/mm/Kconfig
include/asm-sh/irq.h
include/asm-sh/titan.h