In addition to being embedded into the EMAC controller, the CPDMA hardware
block is used in TI's CPSW switch controller.  Fortunately, the programming
interface to this hardware block remains somewhat consistent across these
devices.

This series contains a new reusable cpdma implementation, as well as
corresponding changes to plug unto the current emac driver.

This code has been very briefly tested on DM365.  Performance and stability
tests have not yet been run.  Further, this code does not handle
transmit/receive errors properly.  In short, this code is still pretty raw,
and is being posted here for some early feedback on the overall approach.


Cyril Chemparathy (2):
  Davinci: emac: separate out cpdma for reuse
  Davinci: emac: use new cpdma in emac driver

 drivers/net/Makefile        |    4 +-
 drivers/net/davinci_cpdma.c |  676 ++++++++++++++++++++++++++
 drivers/net/davinci_cpdma.h |   60 +++
 drivers/net/davinci_emac.c  | 1119 +++++--------------------------------------
 4 files changed, 865 insertions(+), 994 deletions(-)
 create mode 100644 drivers/net/davinci_cpdma.c
 create mode 100644 drivers/net/davinci_cpdma.h

_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to