Missing cpm_install_handler/cpm_free_handler on the MPC8260 port

2 messages, 2 authors, 2000-06-22 · open the first message on its own page

Missing cpm_install_handler/cpm_free_handler on the MPC8260 port

From: diekema_jon <hidden>
Date: 2000-06-22 13:37:54

	When Linux version 2.4.0-test1-ac21 is compiled for a MPC8260,
	the cpm helper routines like cpm_install_handler and symbol
	cpm_free_handler are no longer available.  These routines are
	defined in arch/ppc/8xx_io/commproc.c, but none of the files in
	this directory get compiled into the kernel for a MPC8260 target.

	It appears that the interrupt controller on the MPC8260 is a bit
	different from the MPC8xx.  Has anyone ported the following
	routines or functionality from 8xx to 8260?

        cpm_interrupt_init
        cpm_install_handler
	cpm_free_handler

	If not, then I will work on adding this functionality.

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

Re: Missing cpm_install_handler/cpm_free_handler on the MPC8260 port

From: Dan Malek <hidden>
Date: 2000-06-22 15:03:18

diekema_jon wrote:
        It appears that the interrupt controller on the MPC8260 is a bit
        different from the MPC8xx.

That is why these functions are not needed on the 8260.  On the 8xx,
the CPM is a second level interrupt controller from the PowerPC core.
That is, the CPM was one interrupt vector from the SIU core, and the
CPM further multiplexed all interrupts from its devices.

On the 8260, all CPM devices are unique interrupts from the SIU core,
so they use the "standard" internal interrupt controller functions.  I
don't know what a "CPM interrupt" function would do on the 8260, other
than be a single line of code that calls the SIU interrupt function
with exactly the same parameters.


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