linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] 8xx: add cpm_get_cpmp()
@ 2005-08-06 18:03 Aristeu Sergio Rozanski Filho
  2005-08-06 23:27 ` Marcelo Tosatti
  0 siblings, 1 reply; 12+ messages in thread
From: Aristeu Sergio Rozanski Filho @ 2005-08-06 18:03 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: linuxppc-embedded

8xx: add cpm_get_cpmp() to make cpmp visible to modules

Signed-off-by: Aristeu Sergio Rozanski Filho <aris@cathedrallabs.org>

Index: 2.6-8xx/arch/ppc/8xx_io/commproc.c
===================================================================
--- 2.6-8xx.orig/arch/ppc/8xx_io/commproc.c	2005-08-03 17:26:05.000000000 -0300
+++ 2.6-8xx/arch/ppc/8xx_io/commproc.c	2005-08-05 17:13:21.000000000 -0300
@@ -462,3 +462,10 @@
 	return ((immap_t *)IMAP_ADDR)->im_cpm.cp_dpmem + offset;
 }
 EXPORT_SYMBOL(cpm_dpram_addr);
+
+cpm8xx_t *cpm_get_cpmp(void)
+{
+	return cpmp;
+}
+EXPORT_SYMBOL(cpm_get_cpmp);
+
Index: 2.6-8xx/include/asm/commproc.h
===================================================================
--- 2.6-8xx.orig/include/asm/commproc.h	2005-07-28 12:06:51.000000000 -0300
+++ 2.6-8xx/include/asm/commproc.h	2005-08-05 17:14:28.000000000 -0300
@@ -78,6 +78,7 @@
 extern void cpm_dpdump(void);
 extern void *cpm_dpram_addr(uint offset);
 extern void cpm_setbrg(uint brg, uint rate);
+extern cpm8xx_t *cpm_get_cpmp(void);
 
 extern uint m8xx_cpm_hostalloc(uint size);
 extern int  m8xx_cpm_hostfree(uint start);

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

end of thread, other threads:[~2005-08-07 19:18 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-06 18:03 [PATCH] 8xx: add cpm_get_cpmp() Aristeu Sergio Rozanski Filho
2005-08-06 23:27 ` Marcelo Tosatti
2005-08-06 23:42   ` Aristeu Sergio Rozanski Filho
2005-08-07  0:33     ` Marcelo Tosatti
2005-08-07  3:36     ` Dan Malek
2005-08-07  2:40   ` Dan Malek
2005-08-07  4:31     ` Marcelo Tosatti
2005-08-07 15:39       ` Dan Malek
2005-08-07 15:44         ` Aristeu Sergio Rozanski Filho
2005-08-07 15:57           ` Marcelo Tosatti
2005-08-07 19:18             ` Eugene Surovegin
2005-08-07 17:25           ` 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).