From daf7227e13e06024eb6f3efaf0e8df4f13b6c94a Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Fri, 18 May 2012 15:38:50 +0900 Subject: [PATCH] --- yaml --- r: 305283 b: refs/heads/master c: b6bd263397decbcac5e1c836154a53c14b80f530 h: refs/heads/master i: 305281: 97a0245b43f2d1b47b9506cc6c8729ef8f22c270 305279: 5277092bcb2cc8d6bd166c44c2300a8c3e6a155a v: v3 --- [refs] | 2 +- trunk/arch/sh/boards/mach-hp6xx/setup.c | 3 ++- trunk/arch/sh/include/mach-common/mach/hp6xx.h | 7 ++++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 47fededd6147..52823ab22a76 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b894701e7c472dbc6267bdde68bd6d35266b8dfc +refs/heads/master: b6bd263397decbcac5e1c836154a53c14b80f530 diff --git a/trunk/arch/sh/boards/mach-hp6xx/setup.c b/trunk/arch/sh/boards/mach-hp6xx/setup.c index 8c9add5f4cfa..db34cad1b76c 100644 --- a/trunk/arch/sh/boards/mach-hp6xx/setup.c +++ b/trunk/arch/sh/boards/mach-hp6xx/setup.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include @@ -35,7 +36,7 @@ static struct resource cf_ide_resources[] = { .flags = IORESOURCE_MEM, }, [2] = { - .start = 77, + .start = evt2irq(0xba0), .flags = IORESOURCE_IRQ, }, }; diff --git a/trunk/arch/sh/include/mach-common/mach/hp6xx.h b/trunk/arch/sh/include/mach-common/mach/hp6xx.h index bcc301ac12f4..6aaaf8596e6a 100644 --- a/trunk/arch/sh/include/mach-common/mach/hp6xx.h +++ b/trunk/arch/sh/include/mach-common/mach/hp6xx.h @@ -9,10 +9,11 @@ * for more details. * */ +#include -#define HP680_BTN_IRQ 32 /* IRQ0_IRQ */ -#define HP680_TS_IRQ 35 /* IRQ3_IRQ */ -#define HP680_HD64461_IRQ 36 /* IRQ4_IRQ */ +#define HP680_BTN_IRQ evt2irq(0x600) /* IRQ0_IRQ */ +#define HP680_TS_IRQ evt2irq(0x660) /* IRQ3_IRQ */ +#define HP680_HD64461_IRQ evt2irq(0x680) /* IRQ4_IRQ */ #define DAC_LCD_BRIGHTNESS 0 #define DAC_SPEAKER_VOLUME 1