diff options
author | Edwin Peer <edwin.peer@broadcom.com> | 2021-10-29 10:47:38 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-29 14:13:04 +0300 |
commit | c7dd4a5b0a155c4db0ff9758668235651c2ebf22 (patch) | |
tree | fed6f37cecb386c2f5b9911f4319e136c29ffa38 /drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c | |
parent | a812a046c22d02c4afba62cbd4630e6be4367fce (diff) | |
download | linux-c7dd4a5b0a155c4db0ff9758668235651c2ebf22.tar.xz |
bnxt_en: refactor printing of device info
The device info logged during probe will be reused by the devlink
driver_reinit code in a following patch. Extract this logic into
the new bnxt_print_device_info() function. The board index needs
to be saved in the driver context so that the board information
can be retrieved at a later time, outside of the probe function.
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Edwin Peer <edwin.peer@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c')
0 files changed, 0 insertions, 0 deletions