On Sep 16, 2007, at 5:53 AM, Sylvain Munaut wrote: > This patch adds support for the core of the BestComm API > for the Freescale MPC5200(b). The BestComm engine is a > microcode-controlled / tasks-based DMA used by several > of the onchip devices. > > Setting up the tasks / memory allocation and all common > low level functions are handled by this patch. > The specifics details of each tasks and their microcode > are split-out in separate patches. > > This is not the official API, but a much cleaner one. > (hopefully) > > Signed-off-by: Sylvain Munaut <[EMAIL PROTECTED]> > --- > arch/powerpc/platforms/Kconfig | 2 + > arch/powerpc/sysdev/Makefile | 1 + > arch/powerpc/sysdev/bestcomm/Kconfig | 18 + > arch/powerpc/sysdev/bestcomm/Makefile | 8 + > arch/powerpc/sysdev/bestcomm/bestcomm.c | 657 +++++++++++++++ > +++++++++++ > arch/powerpc/sysdev/bestcomm/bestcomm.h | 136 ++++++ > arch/powerpc/sysdev/bestcomm/bestcomm_priv.h | 325 +++++++++++++ > arch/powerpc/sysdev/bestcomm/sram.c | 177 +++++++ > arch/powerpc/sysdev/bestcomm/sram.h | 54 +++ > 9 files changed, 1378 insertions(+), 0 deletions(-) > create mode 100644 arch/powerpc/sysdev/bestcomm/Kconfig > create mode 100644 arch/powerpc/sysdev/bestcomm/Makefile > create mode 100644 arch/powerpc/sysdev/bestcomm/bestcomm.c > create mode 100644 arch/powerpc/sysdev/bestcomm/bestcomm.h > create mode 100644 arch/powerpc/sysdev/bestcomm/bestcomm_priv.h > create mode 100644 arch/powerpc/sysdev/bestcomm/sram.c > create mode 100644 arch/powerpc/sysdev/bestcomm/sram.h
this version still doesn't address comments made back in may: http://ozlabs.org/pipermail/linuxppc-dev/2007-May/036224.html Also, what about splitting bestcomm.c into bestcomm_task.c & bestcomm_drv.c (or just bestcomm.c) or something like that. It seems 'private API' isn't really the proper term. - k _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev