]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb3: assign port id to net_device->dev_port
authorArjun Vynipadath <arjun@chelsio.com>
Fri, 19 Jan 2018 09:41:48 +0000 (15:11 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Jan 2018 21:15:13 +0000 (16:15 -0500)
commit73a781cfb269c6783b06842c54fc38453b0ebfc9
treed5bdd01e3a0dc658e72e67540a1686b4a653c8f5
parent6a5af45fbae0d254dd48ee8586c7514bf40eb83d
cxgb3: assign port id to net_device->dev_port

T3 devices have different ports on same PCI function,
so using dev_port to identify ports.

Signed-off-by: Arjun Vynipadath <arjun@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c