Re: [PATCH v2 5/6] Sysace: Move IRQ handler registration to occur after FSM is initialized

2007-10-02 Thread Grant Likely
On 10/1/07, Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: On Sun, 2007-09-30 at 16:57 -0600, Grant Likely wrote: val |= ACE_CTRL_DATABUFRDYIRQ | ACE_CTRL_ERRORIRQ; ace_out(ace, ACE_CTRL, val); + /* Now we can hook up the irq handler */ + if (ace-irq !=

Re: [PATCH v2 5/6] Sysace: Move IRQ handler registration to occur after FSM is initialized

2007-10-01 Thread Benjamin Herrenschmidt
On Sun, 2007-09-30 at 16:57 -0600, Grant Likely wrote: val |= ACE_CTRL_DATABUFRDYIRQ | ACE_CTRL_ERRORIRQ; ace_out(ace, ACE_CTRL, val); + /* Now we can hook up the irq handler */ + if (ace-irq != NO_IRQ) { + rc = request_irq(ace-irq, ace_interrupt,

[PATCH v2 5/6] Sysace: Move IRQ handler registration to occur after FSM is initialized

2007-09-30 Thread Grant Likely
From: Grant Likely [EMAIL PROTECTED] The FSM needs to be initialized before it is safe to call the ISR Signed-off-by: Grant Likely [EMAIL PROTECTED] --- drivers/block/xsysace.c | 21 ++--- 1 files changed, 10 insertions(+), 11 deletions(-) diff --git