]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: vendor neutral strings for chip and Corigne in strings for driver
authorYu Xiao <yu.xiao@corigine.com>
Sun, 8 May 2022 17:38:15 +0000 (19:38 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 10 May 2022 01:20:39 +0000 (18:20 -0700)
commit9e2e66728541899c1a3a03054b285e409d2906c7
tree4c27a4af5551618b25963748c56b7cf2124a6829
parent711dde5bd271b17b02f3ad896f17b80c01fdf7bf
nfp: vendor neutral strings for chip and Corigne in strings for driver

Historically the nfp driver has supported NFP chips with Netronome's
PCIE vendor ID. In preparation for extending the to also support NFP
chips that have Corigine's PCIE vendor ID (0x1da8) make printk statements
relating to the chip vendor neutral.

An alternate approach is to set the string based on the PCI vendor ID.
In our judgement this proved to cumbersome so we have taken this simpler
approach.

Update strings relating to the driver to use Corigine, who have taken
over maintenance of the driver.

Signed-off-by: Yu Xiao <yu.xiao@corigine.com>
Signed-off-by: Yinjun Zhang <yinjun.zhang@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/netronome/nfp/nfp_main.c
drivers/net/ethernet/netronome/nfp/nfp_net_common.c
drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c