Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1301e71562acc301a39fd363010c971aade8511a
Commit:     1301e71562acc301a39fd363010c971aade8511a
Parent:     ec58f1f32de0b6f9e83aada94c857a8fa9b00070
Author:     Magnus Damm <[EMAIL PROTECTED]>
AuthorDate: Thu Jul 26 10:12:50 2007 +0900
Committer:  Paul Mundt <[EMAIL PROTECTED]>
CommitDate: Fri Sep 21 11:57:46 2007 +0900

    sh: intc - add missing vectors for SH7707
    
    This patch adds a few missing vectors for sh7707. The only interrupt
    controller differences between sh7707 and sh7709 seem to be added
    vectors for one LCD controller and two PCMCIA slots.
    
    Signed-off-by: Magnus Damm <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mundt <[EMAIL PROTECTED]>
---
 arch/sh/kernel/cpu/sh3/setup-sh770x.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/arch/sh/kernel/cpu/sh3/setup-sh770x.c 
b/arch/sh/kernel/cpu/sh3/setup-sh770x.c
index 68fc037..43f8199 100644
--- a/arch/sh/kernel/cpu/sh3/setup-sh770x.c
+++ b/arch/sh/kernel/cpu/sh3/setup-sh770x.c
@@ -29,6 +29,7 @@ enum {
        SCIF2_ERI, SCIF2_RXI, SCIF2_BRI, SCIF2_TXI,
        SCI_ERI, SCI_RXI, SCI_TXI, SCI_TEI,
        ADC_ADI,
+       LCDC, PCC0, PCC1,
        TMU0, TMU1, TMU2_TUNI, TMU2_TICPI,
        RTC_ATI, RTC_PRI, RTC_CUI,
        WDT,
@@ -64,6 +65,10 @@ static struct intc_vect vectors[] = {
        INTC_VECT(SCIF0_ERI, 0x880), INTC_VECT(SCIF0_RXI, 0x8a0),
        INTC_VECT(SCIF0_BRI, 0x8c0), INTC_VECT(SCIF0_TXI, 0x8e0),
 #endif
+#if defined(CONFIG_CPU_SUBTYPE_SH7707)
+       INTC_VECT(LCDC, 0x9a0),
+       INTC_VECT(PCC0, 0x9c0), INTC_VECT(PCC1, 0x9e0),
+#endif
 };
 
 static struct intc_group groups[] = {
@@ -98,6 +103,9 @@ static struct intc_prio_reg prio_registers[] = {
        { 0xa4000018, 16, 4, /* IPRD */ { PINT07, PINT815, } },
        { 0xa400001a, 16, 4, /* IPRE */ { 0, SCIF0 } },
 #endif
+#if defined(CONFIG_CPU_SUBTYPE_SH7707)
+       { 0xa400001c, 16, 4, /* IPRF */ { 0, LCDC, PCC0, PCC1, } },
+#endif
 };
 
 static DECLARE_INTC_DESC(intc_desc, "sh770x", vectors, groups,
-
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