cxgb4: collect vpd info directly from hardware
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Fri, 10 Nov 2017 07:33:37 +0000 (13:03 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Nov 2017 12:47:22 +0000 (21:47 +0900)
commit940c9c458866725e0ade96d5c1c7dbe5fcf1cf85
tree044ed91d8299158e557d0d6cbc068150cd931b4f
parent40cff8fca9e3a7f005a44d011141ec83501013be
cxgb4: collect vpd info directly from hardware

Collect vpd information directly from hardware instead of software
adapter context. Move EEPROM physical address to virtual address
translation logic to t4_hw.c and update relevant files.

Fixes: 6f92a6544f1a ("cxgb4: collect hardware misc dumps")
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cudbg_entity.h
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c