diff options
Diffstat (limited to 'include/asm-powerpc/cpm.h')
| -rw-r--r-- | include/asm-powerpc/cpm.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/asm-powerpc/cpm.h b/include/asm-powerpc/cpm.h index 77e39dad9728..ede38ffe466a 100644 --- a/include/asm-powerpc/cpm.h +++ b/include/asm-powerpc/cpm.h | |||
| @@ -4,6 +4,20 @@ | |||
| 4 | #include <linux/compiler.h> | 4 | #include <linux/compiler.h> |
| 5 | #include <linux/types.h> | 5 | #include <linux/types.h> |
| 6 | 6 | ||
| 7 | /* Opcodes common to CPM1 and CPM2 | ||
| 8 | */ | ||
| 9 | #define CPM_CR_INIT_TRX ((ushort)0x0000) | ||
| 10 | #define CPM_CR_INIT_RX ((ushort)0x0001) | ||
| 11 | #define CPM_CR_INIT_TX ((ushort)0x0002) | ||
| 12 | #define CPM_CR_HUNT_MODE ((ushort)0x0003) | ||
| 13 | #define CPM_CR_STOP_TX ((ushort)0x0004) | ||
| 14 | #define CPM_CR_GRA_STOP_TX ((ushort)0x0005) | ||
| 15 | #define CPM_CR_RESTART_TX ((ushort)0x0006) | ||
| 16 | #define CPM_CR_CLOSE_RX_BD ((ushort)0x0007) | ||
| 17 | #define CPM_CR_SET_GADDR ((ushort)0x0008) | ||
| 18 | #define CPM_CR_SET_TIMER ((ushort)0x0008) | ||
| 19 | #define CPM_CR_STOP_IDMA ((ushort)0x000b) | ||
| 20 | |||
| 7 | /* Buffer descriptors used by many of the CPM protocols. */ | 21 | /* Buffer descriptors used by many of the CPM protocols. */ |
| 8 | typedef struct cpm_buf_desc { | 22 | typedef struct cpm_buf_desc { |
| 9 | ushort cbd_sc; /* Status and Control */ | 23 | ushort cbd_sc; /* Status and Control */ |
