netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: James Ketrenos <jketreno@linux.intel.com>
Cc: Jeff Garzik <jgarzik@pobox.com>, Netdev list <netdev@oss.sgi.com>,
	kernel list <linux-kernel@vger.kernel.org>,
	"James P. Ketrenos" <ipw2100-admin@linux.intel.com>
Subject: Re: ipw2100: firmware problem
Date: Wed, 8 Jun 2005 23:27:07 +0200	[thread overview]
Message-ID: <20050608212707.GA2535@elf.ucw.cz> (raw)
In-Reply-To: <42A723D3.3060001@linux.intel.com>

Hi!

> >I'm fighting with firmware problem: if ipw2100 is compiled into
> >kernel, it is loaded while kernel boots and firmware loader is not yet
> >available. That leads to uninitialized (=> useless) adapter.
> >  
> >
> We've been looking into whether the initrd can have the firmware affixed
> to the end w/ some magic bytes to identify it.  If it works, enhancing
> the request_firmware to support both hotplug and an initrd approach may
> be reasonable.

That seems pretty ugly to me... imagine more than one driver does this
:-(.

> >What's the prefered way to solve this one? Only load firmware when
> >user does ifconfig eth1 up? [It is wifi, it looks like it would be
> >better to start firmware sooner so that it can associate to the
> >AP...].
> >  
> >
> The debate goes back and forth on whether devices should come up only
> after they are told, or initialize and start looking for a network as
> soon as the module is loaded.
> 
> I lean more toward having the driver just do what it is told, defaulting
> to trying to scan and associate so link is ready as soon as possible. 
> We've added module parameters to change that behavior (disable and
> associate for the ipw2100).

Having a parameter to control this seems a bit too complex to me.

How is 

insmod ipw2100 enable=1

different from

insmod ipw2100
iwconfig eth1 start_scanning_or_whatever

?

								Pavel

  reply	other threads:[~2005-06-08 21:27 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-08 14:23 ipw2100: firmware problem Pavel Machek
2005-06-08 14:44 ` Denis Vlasenko
2005-06-08 14:56   ` Jirka Bohac
2005-06-08 16:29     ` Pavel Machek
2005-06-21  7:42     ` Simon Kelley
2005-06-21  8:29       ` Feyd
2005-06-21  8:46         ` Simon Kelley
2005-06-08 15:05   ` Alejandro Bonilla
2005-06-08 15:23     ` Jiri Benc
2005-06-09  6:09     ` Denis Vlasenko
2005-06-09  6:16       ` David S. Miller
2005-06-09  6:25         ` Denis Vlasenko
2005-06-09  6:28           ` David S. Miller
2005-06-09  6:37             ` Denis Vlasenko
2005-06-09  8:36               ` Wichert Akkerman
2005-06-09 10:42         ` Pavel Machek
2005-06-09 19:53           ` David S. Miller
2005-06-09 21:01             ` James Ketrenos
2005-06-09 21:11               ` Pavel Machek
2005-06-09 21:15               ` Arjan van de Ven
2005-06-09 22:11               ` David S. Miller
2005-06-10  2:13               ` Jeff Garzik
2005-06-10  2:46                 ` Alejandro Bonilla
2005-06-10  9:00                   ` Pavel Machek
2005-06-10 13:00                     ` John Stoffel
2005-06-10 13:33                     ` Alejandro Bonilla
2005-06-09 14:31       ` Alejandro Bonilla
2005-06-10  6:56         ` Denis Vlasenko
2005-06-10 13:23           ` Alejandro Bonilla
2005-06-10 20:26             ` Lee Revell
2005-06-10 21:00               ` Alejandro Bonilla
2005-06-10 21:07                 ` Lee Revell
2005-06-13 16:42               ` Jan Rychter
2005-06-11 12:44             ` Denis Vlasenko
2005-06-08 17:10   ` James Ketrenos
2005-06-08 19:43     ` David S. Miller
2005-06-08 19:49       ` Dave Jones
2005-06-08 19:54         ` David S. Miller
2005-06-09  6:03       ` Denis Vlasenko
2005-06-09  6:10         ` David S. Miller
2005-06-09  6:17           ` Denis Vlasenko
2005-06-09  6:20             ` David S. Miller
2005-06-09  6:30               ` Denis Vlasenko
2005-06-09  6:35                 ` David S. Miller
2005-06-10  3:51                 ` Jim Crilly
2005-06-09  6:06       ` Jeff Garzik
2005-06-09  6:13         ` David S. Miller
2005-06-09  6:29           ` Jeff Garzik
2005-06-08 16:58 ` James Ketrenos
2005-06-08 21:27   ` Pavel Machek [this message]
2005-06-08 21:46     ` James Ketrenos
2005-06-08 22:34       ` Pavel Machek
2005-06-09  3:33         ` Zhu Yi
2005-06-09 10:56           ` Pavel Machek
2005-06-09 13:56   ` Andi Kleen
2005-06-09 21:12     ` Olivier Galibert
2005-06-09 23:13       ` Jeff Garzik

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=20050608212707.GA2535@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=ipw2100-admin@linux.intel.com \
    --cc=jgarzik@pobox.com \
    --cc=jketreno@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@oss.sgi.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).