]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: remove the probe deferral when FW not present
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 26 Jul 2017 18:09:46 +0000 (11:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Jul 2017 00:26:26 +0000 (17:26 -0700)
commit80f6bed9c70f4bc87121670216fb037d5441f3a2
tree2fb3a883f8f46375966be2e41e50e8792eba4b5f
parent3e10600d5424e0836efc23fc27cedfebfdc7a729
nfp: remove the probe deferral when FW not present

We use a hack to defer probe when firmware was not pre-loaded
or found on disk.  This helps in case users forgot to include
firmware in initramfs, the driver will most likely get another
shot at probing after real root is mounted.

This is not for what EPROBE_DEFER is supposed to be used, and
when FW is completely missing every time new device is probed
NFP will reprobe spamming kernel logs.

Remove this hack, users will now have to make sure the right
firmware image is present in initramfs if nfp.ko is placed
there or built in.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_main.c