]> 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)
commitca6b9c887165e7886228544213c5c2db56f466bf
tree4c27a4af5551618b25963748c56b7cf2124a6829
parent47cd50120b275dae16653d7c9bd68238f5710ef4
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