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)
commita121644c14bfa5f5141191bda272680680de0887
treeee7d9e86f2ee80c3a9488d19e442c36c9185312e
parent1e8468275284a22c403fcf8a7fe82140a270d461
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