From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761885AbYEYKYK (ORCPT ); Sun, 25 May 2008 06:24:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755627AbYEYKXk (ORCPT ); Sun, 25 May 2008 06:23:40 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:41957 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753936AbYEYKXi (ORCPT ); Sun, 25 May 2008 06:23:38 -0400 Message-Id: <1211708969@pmac.infradead.org> From: David Woodhouse To: linux-kernel@vger.kernel.org Cc: sam@ravnborg.org, alan@lxorguk.ukuu.org.uk, akpm@linux-foundation.org, Tyler Trafford , Hans Verkuil , Brice Goglin , Andrew Gallatin , Kirk Lapray , Trent Piepho , Patrick Boettcher , Michael Krufky , Chris Pascoe Subject: [PATCHv2 00/28] Allow built-in firmware to be accessed by request_firmware() Date: Sun, 25 May 2008 11:23:28 +0100 X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Second attempt, now in the git tree at git.infradead.org/users/dwmw2/firmware-2.6.git At Alan's suggestion, start by making fw->data const so that we can avoid the extra vmalloc+copy when we find it built-in. Mostly straightforward, but could do with an extra pair of eyes and some testing for the cxusb, myri10ge, cx25840 and or51211 changes. Also switch to using a .S file for the included firmware, which means we can use .incbin instead of including the whole thing in hex form in a C file. And fix up the case where there were no built-in firmware -- dwmw2