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    [W:0.024 / U:0.128 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site