Re: [PATCH] bnx2 - use request_firmware()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bastian Blank
Date: Monday, July 7, 2008 - 12:53 am

On Sun, Jul 06, 2008 at 09:21:21PM -0700, Michael Chan wrote:

The change is targeted for the firmware tree. The firmware tree
seperates the firmwares from the driver _within_ the kernel tree. Both
parts are still shipped in the same tree. The driver themself is
modified to use request_firmware. If the driver is builtin the kernel,
the firmware is appended to vmlinux where request_firmware is able to
find them. If it is built as a module the firmware is copied into
/lib/firmware during installation where the famous hotplug handler can
find it.

So the impact is that you need a hotplug handler in the module case.
Most of the modern wireless cards drivers (e.g. b43, iwl*) needs them
anyway.

My patch does not yet include the firmware move within the tree because
it would make the patch really large. Will do that.


Thats why the firmware files got a "version" string included. You can
change it for incompatible changes in the firmware. Your workflow will
not change drastically. You still can modify the firmware and the source
in one tree.

Also it is not that uncommon that you need to update firmwares for new
kernel versions in other devices.

Bastian

-- 
Fascinating, a totally parochial attitude.
		-- Spock, "Metamorphosis", stardate 3219.8
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] bnx2 - use request_firmware(), David Woodhouse, (Sat Jul 5, 2:44 am)
Re: [PATCH] bnx2 - use request_firmware(), Michael Chan, (Sun Jul 6, 9:21 pm)
Re: [PATCH] bnx2 - use request_firmware(), Bastian Blank, (Mon Jul 7, 12:53 am)
Re: [PATCH] bnx2 - use request_firmware(), David Woodhouse, (Mon Jul 7, 2:03 am)
Re: [PATCH] bnx2 - use request_firmware(), Michael Chan, (Mon Jul 7, 11:56 am)
Re: [PATCH] bnx2 - use request_firmware(), Alan Cox, (Mon Jul 7, 2:19 pm)
Re: [PATCH] bnx2 - use request_firmware(), David Miller, (Mon Jul 7, 2:38 pm)
Re: [PATCH] bnx2 - use request_firmware(), David Miller, (Mon Jul 7, 3:05 pm)
Re: [PATCH] bnx2 - use request_firmware(), Jeff Garzik, (Mon Jul 7, 3:08 pm)
Re: [PATCH] bnx2 - use request_firmware(), David Miller, (Mon Jul 7, 4:01 pm)
Re: [PATCH] bnx2 - use request_firmware(), david, (Mon Jul 7, 8:30 pm)
Re: [PATCH] bnx2 - use request_firmware(), Alan Cox, (Mon Jul 7, 11:39 pm)
Re: [PATCH] bnx2 - use request_firmware(), Alan Cox, (Mon Jul 7, 11:41 pm)
Re: [PATCH] bnx2 - use request_firmware(), Alan Cox, (Mon Jul 7, 11:49 pm)
Re: [PATCH] bnx2 - use request_firmware(), David Miller, (Tue Jul 8, 1:58 am)
Re: [PATCH] bnx2 - use request_firmware(), David Miller, (Tue Jul 8, 2:00 am)