Problem with interrupts handling

2 messages, 2 authors, 2003-03-18 · open the first message on its own page

Problem with interrupts handling

From: en_ch@libero.it <hidden>
Date: 2003-03-18 15:59:45

Hi, all!!

I have to realize a char driver to set ATM Utopia for a linux
embedded system using motorola mpc850sar.

I need help to cofigure interrupt (maybe with registering the interrupt handler function).I used this code

if(request_8xxirq(INTERRUPT_LEVEL, MyHandler, 0, DEVICE_NAME, NULL)
panic("Could not allocate irq");
cpm_install_handler(CPMVEC_IDMA1, MyHandler, NULL);

(note that INTERRUPT_LEVEL = 4 and CPMVEC_IDMA1 = 0x15)

I think i set correctly all the cpm and siu registers but it doesn't work!!!!!

is this the right code??
Or there are errors in setting the registers???
Can someone help me?!??!!!!

Tanks a lot!


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: Problem with interrupts handling

From: Dan Malek <hidden>
Date: 2003-03-18 18:48:34

en_ch@libero.it wrote:
I think i set correctly all the cpm and siu registers but it doesn't work!!!!!
As I said in a previous e-mail, you are calling these functions
correctly, but there are lots and lots of other configuration
parameters that need to be configured correctly for ATM to work
at all.  I suspect you need to take a look at all of that.

Thanks.


	-- Dan


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help