diff options
author | Edwin Peer <[email protected]> | 2021-10-29 03:47:38 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-10-29 12:13:04 +0100 |
commit | c7dd4a5b0a155c4db0ff9758668235651c2ebf22 (patch) | |
tree | fed6f37cecb386c2f5b9911f4319e136c29ffa38 /scripts/gdb/linux/lists.py | |
parent | a812a046c22d02c4afba62cbd4630e6be4367fce (diff) |
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 <[email protected]>
Signed-off-by: Edwin Peer <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions