]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Read partno and serialno of the board from VPD
authorVasundhara Volam <vasundhara-v.volam@broadcom.com>
Fri, 27 Mar 2020 09:35:49 +0000 (15:05 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Mar 2020 22:34:42 +0000 (15:34 -0700)
commite0b2b94f4b047fcc3685b11975dd043c0b6829d5
tree3615a9b080d7415a3414e9add03d00b7df8116e0
parente1737c2397517ec90f2f20987c4c8784c7b3919c
bnxt_en: Read partno and serialno of the board from VPD

Store the part number and serial number information from VPD in
the bnxt structure. Follow up patch will add the support to display
the information via devlink command.

Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h