> 1.- HARDWARE: it is an custom MPC860T board with some > peripherals that use SCCx, SMCx, SPI, I2C, FEC. > > 2.- SOFTWARE: linux kernel 2.4.4-2001-05-12 from ftp.denx.de > with minor changes to adapt an JFFS2 and some other > hardware issues. Right now I am working with the RT-Linux 3.0 > patch that comes with this kernel. > > The thing is that I want to manage the above controllers, some > in a RT module, some in Linux and some in both. The problem comes > up when trying to capture CPM interrupts from a RT module. With > RT-Linux I get to catch the CPM interrupt, and then I should > filter the controller interrupt that I wish; but the CPM interrupt > is triggering every 25 microseconds and the IRQ handler is being > called all the time, without leaving time for other tasks. The > good thing would be that the IRQ handler catches only the specific > CPM controller interrupt, in a flat model. I tried adding some > code from "cpm-multi-level.c" in the LinuxPPC list but it doesn�t work.
Can you explain what you would like to happen? If the CPM interrupt triggers every 25us, then it triggers every 25us and there is nothing that any software can do other than disable the interrupt. BTW: as I understand it, PPC Linux does have a "flat" model with the low level code reaching out to determine which device is responsible by looking at the second level interrupt controller. -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/
