]> asedeno.scripts.mit.edu Git - linux.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)
commit5271156b1a93eeb9a1a48d8a4be5074b3c31a5cd
treed1fad72590360cfea325c85b80d399094c498478
parenta7dac9f9c1695d7470b2f4e7447513e4a71b7c1b
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