public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Andrey Yurovsky <andrey@cozybit.com>
Cc: David Woodhouse <dwmw2@infradead.org>,
	Dan Williams <dcbw@redhat.com>,
	linux-wireless <linux-wireless@vger.kernel.org>
Subject: libertas firmware naming confusing
Date: Fri, 22 May 2009 10:02:32 +0200	[thread overview]
Message-ID: <1242979352.4212.27.camel@johannes.local> (raw)

[-- Attachment #1: Type: text/plain, Size: 1776 bytes --]

Hi,

I noticed yesterday that you updated the page at
http://wireless.kernel.org/en/users/Drivers/libertas to say the
following two things about firmware:


USB 
      * The Linux firmware tree contains libertas/usb8388_v5.bin and
        libertas/usb8388_v9.bin. The firmware image must be placed
        in /lib/firmware/usb8688.bin. The firmware image can also be
        downloaded from OLPC's libertas firmware page. 

GSPI 
      * The GSPI firmware is available in the Linux firmware tree. Copy
        libertas/gspi8686_v9_helper.bin
        to /lib/firmware/libertas/gspi8686_hlp.bin and
        libertas/gspi8686_v9.bin
        to /lib/firmware/libertas/gspi8686.bin. 


This runs counter to the entire idea of the linux-firmware tree that the
tree is a drop-in for /lib/firmware/ (or wherever you need it on your
distribution) -- the tree should always contain the exact filenames as
required by the kernel drivers. Maybe this needs to be clarified more.
Additionally, if there's a need for different versions of a firmware,
then the driver should detect which one is required for the device, if
it's for different features it should select a good default and possibly
give the option to override it.

In this case, I suspect two things are needed:
 1) rename the GSPI firmware files in the linux-firmware tree to match
    what the driver loads, and document outside the filename what
    version they are;
 2) in the USB case change the driver to load libertas/usb8688.bin
    instead of just usb8688.bin and move one of the versions to that
    filename in the linux-firmware tree.

The current situation is very stupid -- users can find the firmware in a
proper repository but it doesn't work out of the box!

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

             reply	other threads:[~2009-05-22  8:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-22  8:02 Johannes Berg [this message]
2009-05-22 15:11 ` libertas firmware naming confusing Dan Williams
2009-05-22 15:31   ` Johannes Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1242979352.4212.27.camel@johannes.local \
    --to=johannes@sipsolutions.net \
    --cc=andrey@cozybit.com \
    --cc=dcbw@redhat.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox