Re: interrupt handler registering in mpc850sar : i need help !

en_ch@libero.it en_ch at libero.it
Tue Mar 18 03:36:21 EST 2003


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

i Tried this :

if(request_8xx(INTERRUPT_LEVEL,myInterruptHandler,0,DEVICE_NEME,NULL))
   panic("could not allocate irq!\n");
cpm_install_handler(CPMVEC_IDMA1,myInterruptHandler,NULL);

is it correct ??? note: INTERRUPT_LEVEL is defined 4 and CPMVEC_IDMA1 is 0x15.

which register must i set (and how) to configure  interrupt in utopia mode ?
i have seen that siu and cpm register is setted by kernel... i think i have just
to register the handler.
Please help me !


en_ch
we r desperate :)


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





More information about the Linuxppc-embedded mailing list