X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-ppc%2Fcommproc.h;h=170095a88439aa4a1b09f8b3492614a07361adb1;hb=2cf7311f007833d5818fc9241c09a372c0325a4a;hp=5a58b9e039d709df1c4f0d40272d0edcc3844968;hpb=a91482bdcc2e0f6035702e46f1b99043a0893346;p=linux-2.6.git diff --git a/include/asm-ppc/commproc.h b/include/asm-ppc/commproc.h index 5a58b9e03..170095a88 100644 --- a/include/asm-ppc/commproc.h +++ b/include/asm-ppc/commproc.h @@ -62,23 +62,13 @@ #define CPM_DATAONLY_SIZE ((uint)0x0700) #define CPM_DP_NOSPACE ((uint)0x7fffffff) -static inline long IS_DPERR(const uint offset) -{ - return (uint)offset > (uint)-1000L; -} - /* Export the base address of the communication processor registers * and dual port ram. */ extern cpm8xx_t *cpmp; /* Pointer to comm processor */ -extern uint cpm_dpalloc(uint size, uint align); -extern int cpm_dpfree(uint offset); -extern uint cpm_dpalloc_fixed(uint offset, uint size, uint align); -extern void cpm_dpdump(void); -extern void *cpm_dpram_addr(uint offset); -extern void cpm_setbrg(uint brg, uint rate); - +uint m8xx_cpm_dpalloc(uint size); uint m8xx_cpm_hostalloc(uint size); +void m8xx_cpm_setbrg(uint brg, uint rate); /* Buffer descriptors used by many of the CPM protocols. */