interrupt handler registering in mpc850sar : i need help !

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

interrupt handler registering in mpc850sar : i need help !

From: en_ch@libero.it <hidden>
Date: 2003-03-15 15:01:09

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

i need help with registering the interrupt handler function: i tried
to use request_8xxirq() for the SIU and cpm_install_handler() for CPM
but interrupt handler seems not run when i trasmit and receive. which is
the correct interrupt handler registering function ? or is just a
registers setting problem ? how can i do ?

how can i configure interrupt?

thanks

en_ch@libero.it


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

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

From: Dan Malek <hidden>
Date: 2003-03-15 18:49:01

en_ch@libero.it wrote:
i have to realize a char driver to set ATM Utopia for a linux
embedded system using motorola mpc850sar.
What devices interrupt the CPM and which ones interrupt the SIU?
I don't recall any ATM interrupts that use the SIU, I thought they
all were CPM interrupts through the device that holds the BDs,
like SCC4 for example.
i need help with registering the interrupt handler function: i tried
to use request_8xxirq() for the SIU and cpm_install_handler() for CPM
but interrupt handler seems not run when i trasmit and receive.
That's correct.  Ensure the interrupt vector numbers you prgrammed into
the devices match the ones you are passing to the handler installer,
then ensure you have the transmit/receive interrupts enabled on the
device.  Of course, there is lots more setup of the device, especially
for ATM, than simply enabling interrupts.


	-- 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