• Jakub Kicinski's avatar
    nfp: only use direct firmware requests · 1680a370
    Jakub Kicinski authored
    request_firmware() will fallback to user space helper and may cause
    long delays when driver is loaded if udev doesn't correctly handle
    FW requests.  Since we never really made use of the user space
    helper functionality switch to the simpler request_firmware_direct()
    call.  The side effect of this change is that no warning will be
    printed when the FW image does not exists.  To help users figure
    out which FW file is missing print a info message when we request
    each file.
    Signed-off-by: default avatarJakub Kicinski <jakub.kicinski@netronome.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    1680a370
nfp_main.c 13.9 KB