public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Manuel Estrada Sainz <ranty@debian.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Simon Kelley <simon@thekelleys.org.uk>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>,
	jt@hpl.hp.com, Pavel Roskin <proski@gnu.org>,
	Oliver Neukum <oliver@neukum.org>,
	David Gibson <david@gibson.dropbear.id.au>
Subject: Re: [PATCH] Re: request_firmware() hotplug interface, third round and a halve
Date: Wed, 21 May 2003 13:07:36 -0700	[thread overview]
Message-ID: <20030521200736.GA2606@kroah.com> (raw)
In-Reply-To: <20030521185212.GC12677@ranty.ddts.net>

On Wed, May 21, 2003 at 08:52:12PM +0200, Manuel Estrada Sainz wrote:
> On Wed, May 21, 2003 at 12:23:18AM -0700, Greg KH wrote:
> > Oops, forgot to respond to this, sorry...
> > 
> > On Sun, May 18, 2003 at 12:19:22AM +0200, Manuel Estrada Sainz wrote:
> [snip]
> > >  - There is a timeout, changeable from userspace. Feedback on a
> > >    reasonable default value appreciated.
> > 
> > Is this really needed?  Especially as you now have:
> 
>  There is currently no way to know if hotplug couldn't be called at all
>  or if it failed because it didn't have firmware load support.
> 
>  If that happens, we would be waiting for ever. And I'd rather make that
>  a countable number of seconds :)
> 
>  I'll make '0' mean no timeout at all.

Ok, that's fine with me.  A bit of documentation for all of this might
be nice.  Just add some kerneldoc comments to your public functions, and
you should be fine.

>  I am not sure on how to implement "if a driver that uses it is
>  selected" and not sure on where to add the Kconfig entries to make it
>  available to out-of-kernel modules.

You could do something like what has been done for the mii module.  Look
at lib/Makefile and drivers/usb/net/Makefile.mii for an example.

I'm not saying that this is the best way, but it could be one solution.
Ideally, the user would never have to select the firmware core option,
it would just get automatically built if a driver that needs it is also
selected.

>  Patches:

The patches look great.  Add a bit of documentation, and some build
integration, and I'd think you are finished.  Unless anyone else has any
objections?

Very nice job, thanks again for doing this.

greg k-h

  reply	other threads:[~2003-05-21 19:53 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-17 22:19 request_firmware() hotplug interface, third round and a halve Manuel Estrada Sainz
2003-05-21  7:23 ` Greg KH
2003-05-21  7:44   ` David Gibson
2003-05-21 18:36     ` Manuel Estrada Sainz
2003-05-21 18:34   ` Manuel Estrada Sainz
2003-05-21 19:03     ` Greg KH
2003-05-21 18:52   ` [PATCH] " Manuel Estrada Sainz
2003-05-21 20:07     ` Greg KH [this message]
2003-05-22 15:31       ` Manuel Estrada Sainz
2003-05-22 16:14         ` Patrick Mochel
2003-05-22 16:34           ` Manuel Estrada Sainz
2003-05-22 16:38             ` Patrick Mochel
2003-05-22 16:43               ` Manuel Estrada Sainz
2003-05-22 16:51                 ` Patrick Mochel
2003-05-22 17:01                   ` Manuel Estrada Sainz
2003-05-22 17:03                     ` Patrick Mochel
2003-05-22 17:57         ` Simon Kelley
2003-05-22 18:15           ` Manuel Estrada Sainz
2003-05-21 21:51     ` Sam Ravnborg
2003-05-22  6:26       ` Manuel Estrada Sainz

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=20030521200736.GA2606@kroah.com \
    --to=greg@kroah.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=david@gibson.dropbear.id.au \
    --cc=jt@hpl.hp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oliver@neukum.org \
    --cc=proski@gnu.org \
    --cc=ranty@debian.org \
    --cc=simon@thekelleys.org.uk \
    /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