]> git.baikalelectronics.ru Git - kernel.git/commit
net: thunderx: 80xx BGX0 configuration changes
authorSunil Goutham <sgoutham@cavium.com>
Thu, 24 Nov 2016 09:18:00 +0000 (14:48 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Nov 2016 01:21:17 +0000 (20:21 -0500)
commit7684f6ebaa81e1e81177de3070ae3e753f4ee49b
treed1fad72590360cfea325c85b80d399094c498478
parentdb6110967f9eb6eb2f65bbedf7c3289aa5e31a4c
net: thunderx: 80xx BGX0 configuration changes

On 80xx only one lane of DLM0 and DLM1 (of BGX0) can be used
, so even though lmac count may be 2 but LMAC1 should use
serdes lane of DLM1. Since it's not possible to distinguish
80xx from 81xx as PCI devid are same, this patch adds this
config support by replying on what firmware configures the
lmacs with.

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/thunder_bgx.c