Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c9d03d9a80c4bcc571efd93fe80ed40973030422
Commit:     c9d03d9a80c4bcc571efd93fe80ed40973030422
Parent:     e29bfbc44332ee2233d87d5adfd1824fd8a1c73b
Author:     Magnus Damm <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 31 17:13:39 2007 +0900
Committer:  Paul Mundt <[EMAIL PROTECTED]>
CommitDate: Fri Sep 21 11:57:47 2007 +0900

    sh: simplify se7780 IRQ code
    
    The new intc code handles IRQ3 and IRQ7 in the cpu specific code
    already, so there is no reason to duplicate that here.
    
    Signed-off-by: Magnus Damm <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mundt <[EMAIL PROTECTED]>
---
 arch/sh/Kconfig              |    1 -
 arch/sh/boards/se/7780/irq.c |   28 +---------------------------
 2 files changed, 1 insertions(+), 28 deletions(-)

diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 54878f0..ceceb05 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -258,7 +258,6 @@ config SH_7780_SOLUTION_ENGINE
        bool "SolutionEngine7780"
        select SOLUTION_ENGINE
        select SYS_SUPPORTS_PCI
-       select CPU_HAS_INTC2_IRQ
        depends on CPU_SUBTYPE_SH7780
        help
          Select 7780 SolutionEngine if configuring for a Renesas SH7780
diff --git a/arch/sh/boards/se/7780/irq.c b/arch/sh/boards/se/7780/irq.c
index 8749147..6bd70da 100644
--- a/arch/sh/boards/se/7780/irq.c
+++ b/arch/sh/boards/se/7780/irq.c
@@ -16,32 +16,6 @@
 #include <asm/io.h>
 #include <asm/se7780.h>
 
-static struct intc2_data intc2_irq_table[] = {
-       { 2,  0, 31, 0, 31, 3 }, /* daughter board EXTINT1 */
-       { 4,  0, 30, 0, 30, 3 }, /* daughter board EXTINT2 */
-       { 6,  0, 29, 0, 29, 3 }, /* daughter board EXTINT3 */
-       { 8,  0, 28, 0, 28, 3 }, /* SMC 91C111 (LAN) */
-       { 10, 0, 27, 0, 27, 3 }, /* daughter board EXTINT4 */
-       { 4,  0, 30, 0, 30, 3 }, /* daughter board EXTINT5 */
-       { 2,  0, 31, 0, 31, 3 }, /* daughter board EXTINT6 */
-       { 2,  0, 31, 0, 31, 3 }, /* daughter board EXTINT7 */
-       { 2,  0, 31, 0, 31, 3 }, /* daughter board EXTINT8 */
-       { 0 , 0, 24, 0, 24, 3 }, /* SM501 */
-};
-
-static struct intc2_desc intc2_irq_desc __read_mostly = {
-       .prio_base      = 0, /* N/A */
-       .msk_base       = 0xffd00044,
-       .mskclr_base    = 0xffd00064,
-
-       .intc2_data     = intc2_irq_table,
-       .nr_irqs        = ARRAY_SIZE(intc2_irq_table),
-
-       .chip = {
-               .name   = "INTC2-se7780",
-       },
-};
-
 /*
  * Initialize IRQ setting
  */
@@ -68,5 +42,5 @@ void __init init_se7780_IRQ(void)
        /* FPGA + 0x0A */
        ctrl_outw((IRQPIN_PCCPW << IRQPOS_PCCPW), FPGA_INTSEL3);
 
-       register_intc2_controller(&intc2_irq_desc);
+       plat_irq_setup_pins(IRQ_MODE_IRQ); /* install handlers for IRQ0-7 */
 }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to