bnxt_en: Fix asic.rev in devlink dev info command

The current asic.rev is incomplete and does not include the metal
revision.  Add the metal revision and decode the complete asic
revision into the more common and readable form (A0, B0, etc).

Fixes: 7154917a12b2 ("bnxt_en: Refactor bnxt_dl_info_get().")
Reviewed-by: Edwin Peer <>
Reviewed-by: Somnath Kotur <>
Signed-off-by: Michael Chan <>
Signed-off-by: David S. Miller <>
1 file changed