]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: print PCI vendor and device ID during probe
authorStefan Assmann <sassmann@kpanic.de>
Tue, 12 Mar 2019 11:18:02 +0000 (12:18 +0100)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 3 May 2019 21:31:51 +0000 (14:31 -0700)
commitaf84ad29485f6e97ac7093bb196ffed021fe6115
treeee7d9e86f2ee80c3a9488d19e442c36c9185312e
parent30b8055b8ebd37608cf0254e14b0d82d8b64958b
i40e: print PCI vendor and device ID during probe

Printing each devices PCI vendor and device ID has the advantage of
easily revealing what hardware we're dealing with exactly. It's no
longer necessary to match the PCI bus information to the lspci output.

Helps with bug reports where no lspci output is available.

Output before
i40e 0000:08:00.0: fw 6.1.49420 api 1.7 nvm 6.80 0x80003c64 1.2007.0
and after
i40e 0000:08:00.0: fw 6.1.49420 api 1.7 nvm 6.80 0x80003c64 1.2007.0 [8086:1572] [8086:0004]

Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c