• Jon Masters's avatar
    [SCSI] MODULE_FIRMWARE for binary firmware(s) · 187afbed
    Jon Masters authored
    Right now, various kernel modules are being migrated over to use
    request_firmware in order to pull in binary firmware blobs from userland
    when the module is loaded. This makes sense.
    
    However, there is right now little mechanism in place to automatically
    determine which binary firmware blobs must be included with a kernel in
    order to satisfy the prerequisites of these drivers. This affects
    vendors, but also regular users to a certain extent too.
    
    The attached patch introduces MODULE_FIRMWARE as a mechanism for
    advertising that a particular firmware file is to be loaded - it will
    then show up via modinfo and could be used e.g. when packaging a kernel.
    Signed-off-by: default avatarJon Masters <jcm@redhat.com>
    
    Comments added in line with all the other MODULE_ tag
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    187afbed
module.h 15.8 KB