Skip to contentSkip to conversation

Missing cpm_install_handler/cpm_free_handler on the MPC8260 port

DISCUSSION diekema_jon 2 participants 2 messages Jun 22, 2000

lore
Share & tools
lore
#0 lore raw

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/

#1 lore raw
Quoted 2 lines · diekema_jon

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/