Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel
[PATCH] MODULE_FIRMWARE for binary firmware(s)
 

Index | Next | Previous | View Flat


jonathan at jonmasters

Apr 18, 2006, 4:41 PM


Views: 857
Permalink
[PATCH] MODULE_FIRMWARE for binary firmware(s)

From: Jon Masters <jcm[at]redhat.com>

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: Jon Masters <jcm[at]redhat.com>

diff -urN linux-2.6.16.2_orig/include/linux/module.h linux-2.6.16.2_dev/include/linux/module.h
--- linux-2.6.16.2_orig/include/linux/module.h 2006-04-07 17:56:47.000000000 +0100
+++ linux-2.6.16.2_dev/include/linux/module.h 2006-04-12 13:51:56.000000000 +0100
@@ -155,6 +155,8 @@
*/
#define MODULE_VERSION(_version) MODULE_INFO(version, _version)

+#define MODULE_FIRMWARE(_firmware) MODULE_INFO(firmware, _firmware)
+
/* Given an address, look for it in the exception tables */
const struct exception_table_entry *search_exception_tables(unsigned long add);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo[at]vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Subject User Time
[PATCH] MODULE_FIRMWARE for binary firmware(s) jonathan at jonmasters Apr 18, 2006, 4:41 PM
    Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) dlang at digitalinsight Apr 18, 2006, 4:01 PM
    Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) dlang at digitalinsight Apr 18, 2006, 4:41 PM
    Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) jonathan at jonmasters Apr 18, 2006, 5:15 PM
    Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) jonathan at jonmasters Apr 18, 2006, 6:07 PM
    Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) duncan.sands at math Apr 19, 2006, 2:07 AM
        Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) jonathan at jonmasters Apr 19, 2006, 5:41 AM
    Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) duncan.sands at math Apr 19, 2006, 8:32 AM
        Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) jonathan at jonmasters Apr 19, 2006, 8:45 AM
    Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) jonathan at jonmasters Jul 29, 2006, 12:05 PM
    Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) greg at kroah Aug 28, 2006, 7:49 PM
        Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) olecom at flower Aug 28, 2006, 9:19 PM
        Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) dlang at digitalinsight Aug 29, 2006, 8:46 AM
    Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) greg at kroah Aug 29, 2006, 11:32 AM
        Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) mb at bu3sch Aug 29, 2006, 12:04 PM
            Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) olaf at aepfle Aug 29, 2006, 1:13 PM
                Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) dlang at digitalinsight Aug 29, 2006, 1:42 PM
    Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) greg at kroah Aug 29, 2006, 1:52 PM
    Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) 7eggert at elstempel Aug 29, 2006, 3:10 PM
    Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) olaf at aepfle Aug 29, 2006, 10:44 PM
        Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) dlang at digitalinsight Aug 30, 2006, 10:52 AM
    Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) sven.luther at wanadoo Aug 30, 2006, 11:13 AM
        Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) dlang at digitalinsight Aug 30, 2006, 11:20 AM
    Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) sven.luther at wanadoo Aug 30, 2006, 12:15 PM
        Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) dlang at digitalinsight Aug 30, 2006, 12:34 PM
    Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) sven.luther at wanadoo Aug 30, 2006, 1:57 PM
        Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) dlang at digitalinsight Aug 30, 2006, 2:11 PM
    Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) jim at why Aug 30, 2006, 6:16 PM
    Re: [PATCH] MODULE_FIRMWARE for binary firmware(s) olaf at aepfle Sep 15, 2006, 12:48 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.