[PATCH][PPC32] Adds mcc cpm commands

STALE7860d

2 messages, 2 authors, 2005-02-15 · open the first message on its own page

[PATCH][PPC32] Adds mcc cpm commands

From: <hidden>
Date: 2005-02-14 13:03:08

This patch adds mcc cpm commands to the cpm2.h file in the 2.6.10 kernel

Signed-off-by:  Morten Banzon  <morten.banzon at axxessit.no>


diff -Nru linux-2.6.10.orig/include/asm-ppc/cpm2.h 
linux-2.6.10/include/asm-ppc/cpm2.h
--- linux-2.6.10.orig/include/asm-ppc/cpm2.h    2004-12-24 
22:34:44.000000000 +0100
+++ linux-2.6.10/include/asm-ppc/cpm2.h 2005-02-14 12:22:22.000000000 
+0100
@@ -41,6 +41,7 @@
 #define CPM_CR_IDMA3_SBLOCK    (0x16)
 #define CPM_CR_IDMA4_SBLOCK    (0x17)
 #define CPM_CR_MCC1_SBLOCK     (0x1c)
+#define CPM_CR_MCC2_SBLOCK     (0x1d)
 
 #define CPM_CR_SCC1_PAGE       (0x00)
 #define CPM_CR_SCC2_PAGE       (0x01)
@@ -68,10 +69,15 @@
 #define CPM_CR_INIT_RX         ((ushort)0x0001)
 #define CPM_CR_INIT_TX         ((ushort)0x0002)
 #define CPM_CR_HUNT_MODE       ((ushort)0x0003)
+#define CPM_CR_INIT_MCC_TRX    ((ushort)0x0003)
 #define CPM_CR_STOP_TX         ((ushort)0x0004)
+#define CPM_CR_INIT_MCC_TX     ((ushort)0x0005)
+#define CPM_CR_INIT_MCC_RX     ((ushort)0x0006)
 #define CPM_CR_RESTART_TX      ((ushort)0x0006)
+#define CPM_CR_MCC_RESET       ((ushort)0x0007)
 #define CPM_CR_SET_GADDR       ((ushort)0x0008)
 #define CPM_CR_START_IDMA      ((ushort)0x0009)
+#define CPM_CR_STOP_RX         ((ushort)0x0009)
 #define CPM_CR_STOP_IDMA       ((ushort)0x000b)
 
 #define mk_cr_cmd(PG, SBC, MCN, OP) \

Re: [PATCH][PPC32] Adds mcc cpm commands

From: Tom Rini <hidden>
Date: 2005-02-15 19:23:09

On Mon, Feb 14, 2005 at 01:56:07PM +0100, morten.banzon@axxessit.no wrote:
This patch adds mcc cpm commands to the cpm2.h file in the 2.6.10 kernel

Signed-off-by:  Morten Banzon  <morten.banzon at axxessit.no>
What is this used for / needed by?  Thanks.

-- 
Tom Rini
http://gate.crashing.org/~trini/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help