All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] IPW2100 fails to load firmware when booting on battery
@ 2006-01-21 20:18 Olaf Hering
  2006-01-22  9:14 ` Ingo Oeser
  0 siblings, 1 reply; 2+ messages in thread
From: Olaf Hering @ 2006-01-21 20:18 UTC (permalink / raw)
  To: linux-kernel, Manuel Estrada Sainz


We carry this patch around since a while. Is it safe to increase the
timeout also in mainline?

References: https://bugzilla.novell.com/show_bug.cgi?id=74526

IPW2100 fails to load firmware when booting on battery; increasing the
timeout solves the problem.


diff -urNp linux-2.6.12/drivers/base/firmware_class.c linux-2.6.12.SUSE/drivers/base/firmware_class.c
--- linux-2.6.12/drivers/base/firmware_class.c	2005-08-05 11:36:43.908851520 +0200
+++ linux-2.6.12.SUSE/drivers/base/firmware_class.c	2005-08-05 11:41:23.737311128 +0200
@@ -30,7 +30,7 @@ enum {
 	FW_STATUS_READY,
 };
 
-static int loading_timeout = 10;	/* In seconds */
+static int loading_timeout = 30;	/* In seconds */
 
 /* fw_lock could be moved to 'struct firmware_priv' but since it is just
  * guarding for corner cases a global lock should be OK */

-- 
short story of a lazy sysadmin:
 alias appserv=wotan

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] IPW2100 fails to load firmware when booting on battery
  2006-01-21 20:18 [PATCH] IPW2100 fails to load firmware when booting on battery Olaf Hering
@ 2006-01-22  9:14 ` Ingo Oeser
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Oeser @ 2006-01-22  9:14 UTC (permalink / raw)
  To: linux-kernel; +Cc: Olaf Hering, Manuel Estrada Sainz

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

On Saturday 21 January 2006 21:18, Olaf Hering wrote:
> We carry this patch around since a while. Is it safe to increase the
> timeout also in mainline?
> 
> References: https://bugzilla.novell.com/show_bug.cgi?id=74526
> 
> IPW2100 fails to load firmware when booting on battery; increasing the
> timeout solves the problem.
 
Not needed, can be adjusted from user space, once /sys is mounted.
echo -n 30 >/sys/class/firmware/timeout

The firmware class driver just provides a sane default, nothing else.

If this becomes a very common case (many drivers having big firmware
and userspace needs a lot of time providing it), your patch should go in.
But then the _default_ is wrong for many users.


Regards

Ingo Oeser


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-22  9:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-21 20:18 [PATCH] IPW2100 fails to load firmware when booting on battery Olaf Hering
2006-01-22  9:14 ` Ingo Oeser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.