WingMan Kwok 8c85151dde net: netcp: ethss: fix error in calling sgmii api with incorrect offset
On K2HK, sgmii module registers of slave 0 and 1 are mem
mapped to one contiguous block, while those of slave 2
and 3 are mapped to another contiguous block.  However,
on K2E and K2L, sgmii module registers of all slaves are
mem mapped to one contiguous block.  SGMII APIs expect
slave 0 sgmii base when API is invoked for slave 0 and 1,
and slave 2 sgmii base when invoked for other slaves.
Before this patch, slave 0 sgmii base is always passed to
sgmii API for K2E regardless which slave is the API invoked
for.  This patch fixes the problem.

Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-09-23 14:37:36 -07:00
..
2015-08-07 14:46:24 +02:00
2015-08-12 16:27:40 -07:00
2015-09-20 21:36:57 -07:00
2015-09-08 22:44:42 -07:00
2015-07-15 21:34:56 -07:00
2015-09-17 22:32:16 -07:00
2015-08-27 16:28:35 -07:00
2015-06-29 12:52:06 -07:00
2015-01-11 21:44:55 -05:00
2015-07-08 16:04:06 -07:00