netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andy Gospodarek <andy@greyhouse.net>
To: Ben Hutchings <bhutchings@solarflare.com>
Cc: Sarveshwar Bandi <sarveshwarb@serverengines.com>,
	netdev@vger.kernel.org, davem@davemloft.net
Subject: Re: [PATCH] be2net: Implementation of request_firmware interface.
Date: Tue, 11 Aug 2009 12:55:10 -0400	[thread overview]
Message-ID: <20090811165510.GP8515@gospo.rdu.redhat.com> (raw)
In-Reply-To: <1246803604.3898.6.camel@deadeye>

On Sun, Jul 05, 2009 at 03:20:04PM +0100, Ben Hutchings wrote:
> On Sun, 2009-07-05 at 17:46 +0530, Sarveshwar Bandi wrote:
> > I understand that most drivers  use request_firmware() to load  volatile
> > firmware. I do see that there are other nic drivers that use this inferface to
> > flash persistent firmware.
> > 
> >  We have other tools for offline flashing; but there is requirement
> > to flash f/w through driver without having to use other proprietary  tools.
> 
> The firmware blob is proprietary and has to be distributed separately
> from the kernel.  So does it really matter that you have to distribute a
> special tool as well?
> 

I guess I don't share the same opinion that the binary firmware is
required to be distributed separately since it is not that way today.
If we get rid of all files in firmware/ that do not have source
included, there will not be much left.

I applaud efforts by hardware vendors and others to submit patches that
allow drivers to update their own firmware at load-time if the on-card
version isn't compatible with the driver getting ready to load.  If one
does not want them updated, don't put the files in /lib/firmware.

Using a standard method (like using request_firmware) seems much more
logical than requiring users to download and compile some vendor
specific application to get new firmware.  It also means that if a
vendor is willing to drop a binary blob into firmware/ it's a pretty
easy thing to do.

> (Based on requirements specified by major OEMs, I have implemented
> firmware update through the sfc driver (MDIO and MTD interfaces) but
> under the control of a separate tool.)

And there are plenty of OEMs out there that complain loudly if it's not
easy to move quickly from one on-card/in-memory firmware to another when
changing driver versions.  Trust me, I hear from them.


      parent reply	other threads:[~2009-08-11 16:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-02 11:18 [PATCH] be2net: Implementation of request_firmware interface Sarveshwar Bandi
2009-07-02 20:33 ` Ben Hutchings
2009-07-05 12:16   ` Sarveshwar Bandi
2009-07-05 14:20     ` Ben Hutchings
2009-08-07  9:20       ` Ram Pai
2009-08-07 13:20         ` Ben Hutchings
2009-08-11 16:55       ` Andy Gospodarek [this message]

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=20090811165510.GP8515@gospo.rdu.redhat.com \
    --to=andy@greyhouse.net \
    --cc=bhutchings@solarflare.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=sarveshwarb@serverengines.com \
    /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;
as well as URLs for NNTP newsgroup(s).