lkml.org 
[lkml]   [2005]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ipw2100: firmware problem
On Wed, Jun 08, 2005 at 04:56:53PM +0200, Jirka Bohac wrote:
> I don't think this is true. Loading the firmware on the first
> "ifconfig up" is problematic. Often, people want to rename the
> device from ethX/wlanX/... to something stable. This is usually
> based on the adapter's MAC address, which is not visible until
> the firmware is loaded.

> I agree that drivers should initialize the adapter in the OFF
> state, but the firmware needs to be loaded earlier than the
> first ifconfig up.
>
> How about loading the firmware when the first ioctl touches the
> device? This way, it would get loaded just before the MAC address
> is retrieved.

Best way to rename network adapter is to use udev. So MAC must be
available (and present in /sysfs) when hotplug event for adapter is
generated.

--
Tomasz Torcz RIP is irrevelant. Spoofing is futile.
zdzichu@irc.-nie.spam-.pl Your routes will be aggreggated. -- Alex Yuriev

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

\
 
 \ /
  Last update: 2005-06-08 17:31    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site