linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Missing cpm_install_handler/cpm_free_handler on the MPC8260 port
@ 2000-06-22 13:37 diekema_jon
  2000-06-22 15:03 ` Dan Malek
  0 siblings, 1 reply; 2+ messages in thread
From: diekema_jon @ 2000-06-22 13:37 UTC (permalink / raw)
  To: linuxppc-embedded, dan_malek; +Cc: all


	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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Missing cpm_install_handler/cpm_free_handler on the MPC8260 port
  2000-06-22 13:37 Missing cpm_install_handler/cpm_free_handler on the MPC8260 port diekema_jon
@ 2000-06-22 15:03 ` Dan Malek
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Malek @ 2000-06-22 15:03 UTC (permalink / raw)
  To: diekema_jon; +Cc: linuxppc-embedded, dan_malek, all


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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-06-22 15:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-22 13:37 Missing cpm_install_handler/cpm_free_handler on the MPC8260 port diekema_jon
2000-06-22 15:03 ` Dan Malek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).