nfp: report manufacturing info on load
Report card manufacturing information when driver loads. These identify the version of the board and its subcomponents. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a9c83f7bc7
commit
64db09ed1f
|
@ -322,6 +322,13 @@ static int nfp_pci_probe(struct pci_dev *pdev,
|
|||
goto err_disable_msix;
|
||||
}
|
||||
|
||||
dev_info(&pdev->dev, "Assembly: %s%s%s-%s CPLD: %s\n",
|
||||
nfp_hwinfo_lookup(pf->cpp, "assembly.vendor"),
|
||||
nfp_hwinfo_lookup(pf->cpp, "assembly.partno"),
|
||||
nfp_hwinfo_lookup(pf->cpp, "assembly.serial"),
|
||||
nfp_hwinfo_lookup(pf->cpp, "assembly.revision"),
|
||||
nfp_hwinfo_lookup(pf->cpp, "cpld.version"));
|
||||
|
||||
err = nfp_nsp_init(pdev, pf);
|
||||
if (err)
|
||||
goto err_cpp_free;
|
||||
|
|
Loading…
Reference in New Issue