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-09-08 18:19:17 -07:00
2015-09-10 13:29:01 -07:00
2015-09-03 16:55:55 -07:00
2015-09-17 21:29:07 -07:00
2015-09-10 13:53:15 -07:00
2015-09-10 16:21:11 -07:00
2015-08-28 21:09:14 +02:00
2015-09-08 16:48:55 -07:00
2015-09-08 18:19:17 -07:00
2015-09-10 17:59:04 -07:00
2015-09-04 11:35:03 -07:00
2015-09-10 17:59:04 -07:00
2015-09-03 16:27:01 -07:00
2015-09-10 13:29:01 -07:00
2015-09-04 11:10:18 -07:00
2015-09-01 18:34:22 -07:00
2015-08-31 15:49:19 -07:00
2015-09-10 13:29:01 -07:00
2015-09-04 15:49:32 -07:00
2015-09-11 09:35:56 -07:00
2015-09-04 12:02:11 -07:00
2015-09-10 13:29:01 -07:00
2015-09-08 16:16:26 -07:00
2015-09-04 10:07:45 -07:00
2015-09-10 13:29:01 -07:00
2015-09-10 16:21:11 -07:00
2015-09-08 17:22:35 -07:00
2015-09-08 11:36:56 -07:00
2015-09-08 14:35:59 -07:00
2015-09-04 11:40:40 -07:00
2015-09-03 16:41:38 -07:00
2015-09-05 18:11:04 -07:00
2015-09-05 17:52:22 -07:00
2015-09-10 13:29:01 -07:00
2015-09-08 17:22:35 -07:00
2015-09-04 15:49:32 -07:00
2015-09-10 13:29:01 -07:00
2015-09-08 16:33:16 -07:00
2015-09-09 11:17:33 -07:00
2015-09-23 14:37:36 -07:00
2015-09-04 10:07:45 -07:00
2015-09-08 14:35:59 -07:00
2015-09-08 16:16:26 -07:00
2015-09-10 13:29:01 -07:00
2015-09-10 13:29:01 -07:00
2015-09-03 16:01:03 +01:00
2015-09-04 10:07:45 -07:00
2015-09-04 10:22:09 -07:00
2015-09-08 16:26:18 -07:00
2015-09-01 19:45:46 -07:00
2015-08-29 01:46:40 +02:00
2015-09-09 10:55:32 -07:00
2015-09-08 16:48:55 -07:00
2015-09-01 14:48:40 +02:00
2015-09-05 19:37:31 +02:00
2015-09-10 13:29:01 -07:00
2015-09-10 16:21:11 -07:00
2015-09-10 17:59:04 -07:00
2015-08-31 14:45:45 +01:00
2015-09-01 14:33:35 -07:00
2015-09-10 13:29:01 -07:00
2015-09-02 13:22:38 -07:00
2015-09-08 16:48:55 -07:00
2015-09-10 16:21:11 -07:00
2015-09-01 18:46:42 -07:00
2015-09-10 18:19:42 -07:00
2015-09-08 13:32:11 +03:00
2015-09-01 18:46:42 -07:00
2015-09-04 11:35:03 -07:00
2015-09-10 18:19:42 -07:00
2015-09-03 16:27:01 -07:00
2015-09-04 10:22:09 -07:00