cpsw: support both silicon versions
authorRichard Cochran <richardcochran@gmail.com>
Mon, 29 Oct 2012 08:45:15 +0000 (08:45 +0000)
committerMugunthan V N <mugunthanvnm@ti.com>
Fri, 30 Nov 2012 11:56:56 +0000 (17:26 +0530)
commit0b8bc853b3d715ea09d0ae3439ce7f33c5c92910
treeb82f740b9053eb11dbcde33d228b37c87e7386e1
parentdbb0b6cead95a423abb3bbf2960a91b23f8082fa
cpsw: support both silicon versions

This patch fixes the cpsw driver to operate correctly with both the
dm814x and the am335x versions of the switch hardware.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
drivers/net/ethernet/ti/cpsw.c