]> git.baikalelectronics.ru Git - kernel.git/commit
net: netcp: Fixes hw statistics module base setting error
authorWingMan Kwok <w-kwok2@ti.com>
Thu, 23 Jul 2015 19:57:20 +0000 (15:57 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2015 07:18:39 +0000 (00:18 -0700)
commit75f6ff22feeea8f3493092adb365d84c5c68f7a9
treef6aea2e3aa06552df0ca786da821b9f7108a3963
parentcb2986f320f7bd60d45e9b4e51b45453a96a6363
net: netcp: Fixes hw statistics module base setting error

This patch fixes error in the setting of the hw statistics
module base for K2HK platform.  In K2HK although there are
4 hw statistics modules, but only 2 are visible at a time.
Thus when setting up the pointers to the base of the
corresponding hw statistics modules, modules 0 and 2 should
point to one base, while modules 1 and 3 should point to the
other.

Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/netcp_ethss.c