cpsw: add driver for cpsw ethernet device
authorCyril Chemparathy <cyril@ti.com>
Tue, 24 Jul 2012 12:22:16 +0000 (12:22 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 12:58:10 +0000 (14:58 +0200)
commit2b62997ce931494da3f5836899a91ae3909a0c0c
treebd3d1e81944fad0446b83690e0309e4f05338990
parent2c30c1848742af9ae880870794c7e93660c31e52
cpsw: add driver for cpsw ethernet device

CPSW is an on-chip ethernet switch that is found on various SoCs from Texas
Instruments.  This patch adds a simple driver (based on the Linux driver) for
this hardware module.

This patch also adds support to clean and flush dcache during packet send
and receive.

Changes by Sandhya: Added support to clean and flush dcache during packet
    send/receive and added timeouts.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Chandan Nath <chandan.nath@ti.com>
Signed-off-by: Satyanarayana, Sandhya <sandhya.satyanarayana@ti.com>
[Ilya: Cleaned cache handling, some style cleanup, some small
fixes, use of internal RAM for descriptors]
Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
drivers/net/Makefile
drivers/net/cpsw.c [new file with mode: 0644]
include/cpsw.h [new file with mode: 0644]