diff options
author | Vadim Lomovtsev <Vadim.Lomovtsev@caviumnetworks.com> | 2017-01-12 15:28:06 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-05 12:40:25 (GMT) |
commit | 4ae8dc6acb710419c8766c290b7fb5eac2f1ed68 (patch) | |
tree | 6de6c50c19c10f19a3cf8d78dc536f0d616a0dbe /Documentation/leds | |
parent | f88f06e1831878ecdd5fa78090a45ea8ff77f38f (diff) | |
download | linux-4ae8dc6acb710419c8766c290b7fb5eac2f1ed68.tar.xz |
net: thunderx: acpi: fix LMAC initialization
[ Upstream commit 7aa4865506a26c607e00bd9794a85785b55ebca7 ]
While probing BGX we requesting appropriate QLM for it's configuration
and get LMAC count by that request. Then, while reading configured
MAC values from SSDT table we need to save them in proper mapping:
BGX[i]->lmac[j].mac = <MAC value>
to later provide for initialization stuff. In order to fill
such mapping properly we need to add lmac index to be used while
acpi initialization since at this moment bgx->lmac_count already contains
actual value.
Signed-off-by: Vadim Lomovtsev <Vadim.Lomovtsev@caviumnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/leds')
0 files changed, 0 insertions, 0 deletions