From: Kristoffer E. <kri...@gm...> - 2007-08-15 11:32:00
|
(spam-marathon) Just got me thinking, you might be on to something there. Consider mv_nr_irqs = HD64461_IRQBASE + HD64461_IRQ_NUM where IRQBASE (in my case) = 18 (as OFFCHIP_NR_IRQ) and HD64461_IRQ_NUM = 16 equal of MV_NR_IRQS = 34. On Wed, 15 Aug 2007 19:38:02 +0900 "Magnus Damm" <mag...@gm...> wrote: > Hi again Kristoffer! > > Thanks for your comments and kernel config. I'm glad to hear that you > have most patches pushed upstream.I tried using your attached config > with the sh git tree for 2.6.24 [1] but I still cannot compile the > code... > > CC arch/sh/boards/hp6xx/setup.o > arch/sh/boards/hp6xx/setup.c:104: error: `OFFCHIP_IRQ_BASE' undeclared > here (not in a function) > arch/sh/boards/hp6xx/setup.c:104: error: initializer element is not constant > arch/sh/boards/hp6xx/setup.c:104: error: (near initialization for > `mv_hp6xx.mv_nr_irqs') > make[1]: *** [arch/sh/boards/hp6xx/setup.o] Error 1 > > It looks like hd64461.h defines HD64461_IRQBASE to OFFCHIP_IRQ_BASE > which seems undefined... Any clues? Can you compile that tree? > > For 2.6.23 - is it possible that you never compile the board-specific > code? That would explain some of your problems as well... > > Thanks! > > / magnus > > [1] http://git.kernel.org/?p=linux/kernel/git/lethal/sh-2.6.git;a=summary -- Kristoffer Ericson <Kri...@Gm...> |