Re: ipw2100: firmware problem

From: James Ketrenos
Date: Wed Jun 08 2005 - 16:47:01 EST


Pavel Machek wrote:

>>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
>:-(.
>
>
Not ideal, but not *that bad* if there is a standard way to stick the
data on the initrd image. Its annoying to have to do it, but it does
enable the most usage models and allows the network to be brought up as
early as possible--which other components in the system may be relying on.

>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
>
>?
>
>
It defaults to enabled, so you just need to do:

insmod ipw2100

and it will auto associate with an open network. For the use case where
users want the device to load but not initialize, they can use

insmod ipw2100 disable=1

If hotplug and firmware loading worked early in the init sequence, no
one would have issue with the current model; it works as users expect it
to work. It magically finds and associates to networks, and your
network scripts can then kick off DHCP, all with little to no special
crafting or utility interfacing.

James

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/