linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Problem with interrupts handling
@ 2003-03-18 15:59 en_ch
  2003-03-18 18:48 ` Dan Malek
  0 siblings, 1 reply; 2+ messages in thread
From: en_ch @ 2003-03-18 15:59 UTC (permalink / raw)
  To: linuxppc-embedded


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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem with interrupts handling
  2003-03-18 15:59 Problem with interrupts handling en_ch
@ 2003-03-18 18:48 ` Dan Malek
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Malek @ 2003-03-18 18:48 UTC (permalink / raw)
  To: en_ch@libero.it; +Cc: linuxppc-embedded


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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-18 18:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-18 15:59 Problem with interrupts handling en_ch
2003-03-18 18:48 ` Dan Malek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).