platform/upstream/linux-firmware.git
15 years agofirmware: convert tg3 driver to request_firmware()
Jaswinder Singh Rajput [Mon, 5 Jan 2009 00:11:25 +0000 (16:11 -0800)]
firmware: convert tg3 driver to request_firmware()

Firmware blob looks like this...
        u8 firmware_major
        u8 firmware_minor
        u8 firmware_fix
        u8 pad
        __be32 start_address
        __be32 length (total, including BSS sections to be zeroed)
        data... (in __be32 words, which is native for the firmware)

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
15 years agofirmware: convert acenic driver to request_firmware()
Jaswinder Singh [Mon, 5 Jan 2009 00:09:40 +0000 (16:09 -0800)]
firmware: convert acenic driver to request_firmware()

We store the firmware in its native big-endian form now, so the loop in
ace_copy() is modified to use be32_to_cpup() when writing it out.

We can forget the BSS,SBSS sections of the firmware, since we were
clearing all the device's RAM anyway. And the text,rodata,data sections
can all be loaded as a single chunk since they're contiguous (give or
take a few dozen bytes in between).

Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Acked-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
15 years agocxgb3: integrate FW and protocol engines in the kernel
Divy Le Ray [Wed, 26 Nov 2008 23:37:50 +0000 (15:37 -0800)]
cxgb3: integrate FW and protocol engines in the kernel

Include firmware and protocol images in the kernel image if requested

Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
15 years agocassini: use request_firmware
Jaswinder Singh [Tue, 23 Sep 2008 02:27:10 +0000 (19:27 -0700)]
cassini: use request_firmware

Firmware blob looks like this...
        __le16 load_address
        unsigned char data[]

[akpm@linux-foundation.org: include vmalloc.h]
Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
15 years agofirmware: convert sb16_csp driver to use firmware loader exclusively
Jaswinder Singh [Sat, 5 Jul 2008 12:35:22 +0000 (18:05 +0530)]
firmware: convert sb16_csp driver to use firmware loader exclusively

Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
15 years agodsp56k: use request_firmware
Jaswinder Singh [Sat, 5 Jul 2008 09:58:30 +0000 (15:28 +0530)]
dsp56k: use request_firmware

Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
15 years agoedgeport-ti: use request_firmware()
Jaswinder Singh [Fri, 4 Jul 2008 17:36:09 +0000 (23:06 +0530)]
edgeport-ti: use request_firmware()

Firmware blob looks like this...
        uint8_t  MajorVersion
        uint8_t  MinorVersion
        __le16   BuildNumber
        uint8_t  data[]

Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
15 years agoedgeport: use request_firmware()
Jaswinder Singh [Thu, 3 Jul 2008 11:30:23 +0000 (17:00 +0530)]
edgeport: use request_firmware()

Version number provided in first HEX record.

Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
15 years agovicam: use request_firmware()
Jaswinder Singh [Fri, 27 Jun 2008 14:20:40 +0000 (19:50 +0530)]
vicam: use request_firmware()

Although it wasn't actually using ihex records before, we use the Intel
HEX record format for this firmware -- because that gives us a simple
way to split it into separate chunks internally as we need, without
loading each part as a separate file.

Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
15 years agodabusb: use request_firmware()
David Woodhouse [Mon, 23 Jun 2008 10:41:04 +0000 (11:41 +0100)]
dabusb: use request_firmware()

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
15 years agocpia2: use request_firmware()
David Woodhouse [Mon, 23 Jun 2008 10:36:23 +0000 (11:36 +0100)]
cpia2: use request_firmware()

Thanks for Jaswinder Singh for converting the firmware blob itself to ihex.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
15 years agoip2: use request_firmware()
David Woodhouse [Wed, 11 Jun 2008 15:57:21 +0000 (16:57 +0100)]
ip2: use request_firmware()

Converted with help from Jaswinder Singh

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Acked-by: Alan Cox <alan@redhat.com>
15 years agofirmware: convert Ambassador ATM driver to request_firmware()
David Woodhouse [Thu, 5 Jun 2008 11:59:51 +0000 (12:59 +0100)]
firmware: convert Ambassador ATM driver to request_firmware()

Since it had various regions to be loaded to separate addresses, and it
wanted to do them in fairly small chunks anyway, switch it to use the
new ihex code. Encode the start address in the first record.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Acked-by: Chas Williams <chas@cmf.nrl.navy.mil>
15 years agowhiteheat: use request_firmware()
David Woodhouse [Fri, 30 May 2008 22:35:29 +0000 (01:35 +0300)]
whiteheat: use request_firmware()

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
15 years agoti_usb_3410_5052: use request_firmware()
David Woodhouse [Fri, 30 May 2008 15:49:51 +0000 (18:49 +0300)]
ti_usb_3410_5052: use request_firmware()

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
15 years agoemi62: use request_firmware()
David Woodhouse [Fri, 30 May 2008 14:35:47 +0000 (17:35 +0300)]
emi62: use request_firmware()

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
15 years agoemi26: use request_firmware()
David Woodhouse [Fri, 30 May 2008 13:19:39 +0000 (16:19 +0300)]
emi26: use request_firmware()

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
15 years agokeyspan_pda: use request_firmware()
David Woodhouse [Fri, 30 May 2008 12:15:13 +0000 (15:15 +0300)]
keyspan_pda: use request_firmware()

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
15 years agokeyspan: use request_firmware()
David Woodhouse [Fri, 30 May 2008 11:04:03 +0000 (14:04 +0300)]
keyspan: use request_firmware()

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
15 years agottusb-budget: use request_firmware()
David Woodhouse [Thu, 29 May 2008 16:50:06 +0000 (19:50 +0300)]
ttusb-budget: use request_firmware()

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Acked-by: Mauro Carvalho Chehab <mchehab@infradead.org>
15 years agokaweth: use request_firmware()
David Woodhouse [Thu, 29 May 2008 14:17:17 +0000 (17:17 +0300)]
kaweth: use request_firmware()

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
15 years agosmctr: use request_firmware()
David Woodhouse [Thu, 29 May 2008 13:39:16 +0000 (16:39 +0300)]
smctr: use request_firmware()

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
15 years agofirmware: convert ymfpci driver to use firmware loader exclusively
David Woodhouse [Thu, 29 May 2008 12:07:34 +0000 (15:07 +0300)]
firmware: convert ymfpci driver to use firmware loader exclusively

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
15 years agofirmware: convert maestro3 driver to use firmware loader exclusively
David Woodhouse [Thu, 29 May 2008 11:48:34 +0000 (14:48 +0300)]
firmware: convert maestro3 driver to use firmware loader exclusively

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
15 years agofirmware: convert korg1212 driver to use firmware loader exclusively
David Woodhouse [Mon, 26 May 2008 22:01:27 +0000 (23:01 +0100)]
firmware: convert korg1212 driver to use firmware loader exclusively

Signed-off-by: David Woodhouse <dwmw2@infradead.org>