drivers: net: cpsw: halt cpsw properly to stop receiving properly
authorMugunthan V N <mugunthanvnm@ti.com>
Wed, 4 Jul 2012 08:16:03 +0000 (13:46 +0530)
committerTom Rini <trini@ti.com>
Thu, 5 Jul 2012 15:05:28 +0000 (08:05 -0700)
commitd04833cbcffbc145c0d28c093bbe4d251b2aee93
tree25f99337b78da1abba08750bf5d0c9afb97506f3
parent3e42f6172526aa6e293b2b070bcb55ce9c5fddda
drivers: net: cpsw: halt cpsw properly to stop receiving properly

During cpsw driver halt, cpdma and cpsw must be stopped from processing
network packets to ensure that hardware doesn't modify any DDR data where
kernel may have its own data structures

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Tom Rini <trini@ti.com>
drivers/net/cpsw.c