linux/drivers/net/ethernet/netronome/nfp
Jakub Kicinski a9c83f7bc7 nfp: refactor NSP initialization and add error message
When acquiring NSP communication resource fails user is left with
"probe failed with error -2" PCI code message but no info on what
caused the problem.  Some development boards may not have NSP FW
in the flash image.  Help users with a more verbouse message.

While at it move the whole NSP init to a separate function to keep
.probe() callback nice and simple.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-20 11:18:49 -05:00
..
nfpcore nfp: Use PCI_DEVICE_ID_NETRONOME_NFP* defines 2017-02-17 15:11:34 -05:00
Makefile nfp: add the PF driver 2017-02-10 15:52:27 -05:00
nfp_asm.h nfp: add BPF to NFP code translator 2016-09-21 19:50:02 -04:00
nfp_bpf_jit.c nfp: add support for offload of XDP programs 2016-11-04 14:56:16 -04:00
nfp_bpf_verifier.c nfp: add support for offload of XDP programs 2016-11-04 14:56:16 -04:00
nfp_bpf.h bitfield.h: add FIELD_FIT() helper 2017-02-10 15:52:24 -05:00
nfp_main.c nfp: refactor NSP initialization and add error message 2017-02-20 11:18:49 -05:00
nfp_main.h nfp: add the PF driver 2017-02-10 15:52:27 -05:00
nfp_net_common.c nfp: allocate irqs in lower driver 2017-02-10 15:52:27 -05:00
nfp_net_ctrl.h nfp: remove support for nfp3200 2016-11-01 11:04:58 -04:00
nfp_net_debugfs.c nfp: add port layer to debugfs directories 2017-02-10 15:52:26 -05:00
nfp_net_ethtool.c nfp: rename the driver and add new main file 2017-02-10 15:52:24 -05:00
nfp_net_main.c nfp: add the PF driver 2017-02-10 15:52:27 -05:00
nfp_net_offload.c nfp: add support for offload of XDP programs 2016-11-04 14:56:16 -04:00
nfp_net.h nfp: add the PF driver 2017-02-10 15:52:27 -05:00
nfp_netvf_main.c nfp: allocate irqs in lower driver 2017-02-10 15:52:27 -05:00