diff options
Diffstat (limited to 'include/asm-ppc/cpm2.h')
-rw-r--r-- | include/asm-ppc/cpm2.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-ppc/cpm2.h b/include/asm-ppc/cpm2.h index c5883dbed63f..9483d4bfacf7 100644 --- a/include/asm-ppc/cpm2.h +++ b/include/asm-ppc/cpm2.h | |||
@@ -109,6 +109,7 @@ static inline long IS_DPERR(const uint offset) | |||
109 | * and dual port ram. | 109 | * and dual port ram. |
110 | */ | 110 | */ |
111 | extern cpm_cpm2_t *cpmp; /* Pointer to comm processor */ | 111 | extern cpm_cpm2_t *cpmp; /* Pointer to comm processor */ |
112 | |||
112 | extern uint cpm_dpalloc(uint size, uint align); | 113 | extern uint cpm_dpalloc(uint size, uint align); |
113 | extern int cpm_dpfree(uint offset); | 114 | extern int cpm_dpfree(uint offset); |
114 | extern uint cpm_dpalloc_fixed(uint offset, uint size, uint align); | 115 | extern uint cpm_dpalloc_fixed(uint offset, uint size, uint align); |
@@ -116,6 +117,8 @@ extern void cpm_dpdump(void); | |||
116 | extern void *cpm_dpram_addr(uint offset); | 117 | extern void *cpm_dpram_addr(uint offset); |
117 | extern void cpm_setbrg(uint brg, uint rate); | 118 | extern void cpm_setbrg(uint brg, uint rate); |
118 | extern void cpm2_fastbrg(uint brg, uint rate, int div16); | 119 | extern void cpm2_fastbrg(uint brg, uint rate, int div16); |
120 | extern void cpm2_reset(void); | ||
121 | |||
119 | 122 | ||
120 | /* Buffer descriptors used by many of the CPM protocols. | 123 | /* Buffer descriptors used by many of the CPM protocols. |
121 | */ | 124 | */ |
@@ -1087,5 +1090,3 @@ typedef struct im_idma { | |||
1087 | 1090 | ||
1088 | #endif /* __CPM2__ */ | 1091 | #endif /* __CPM2__ */ |
1089 | #endif /* __KERNEL__ */ | 1092 | #endif /* __KERNEL__ */ |
1090 | |||
1091 | |||