cxgb4/cxgb4vf: read the correct bits of PL Who Am I register
authorHariprasad Shenai <hariprasad@chelsio.com>
Tue, 4 Aug 2015 09:06:19 +0000 (14:36 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Aug 2015 08:24:35 +0000 (01:24 -0700)
commitd86bd29e0b31f30d5d85ab21385b59703ecc6464
tree91e4f51e8a64e77249d4424a854201448e65960e
parentbf8ebb67dae0a07db7aebe7a65c178ff24d90842
cxgb4/cxgb4vf: read the correct bits of PL Who Am I register

Read the correct bits of PL Who Am I for the Source PF field which has
changed in T6

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
drivers/net/ethernet/chelsio/cxgb4/t4_regs.h
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c