netdev
[Top] [All Lists]

Re: alloc_etherdev breaks ether=

To: Andrew Morton <andrewm@xxxxxxxxxx>
Subject: Re: alloc_etherdev breaks ether=
From: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Date: Sat, 30 Jun 2001 23:14:56 -0600
Cc: Jeff Garzik <jgarzik@xxxxxxxxxxxxxxxx>, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxx>, netdev@xxxxxxxxxxx, Linus Torvalds <torvalds@xxxxxxxxxxxxx>
In-reply-to: <3B3D2366.FDD316E3@xxxxxxxxxx>
References: <3B3C9089.D85A26@xxxxxxxxxxxxxxxx> <E15G028-0000TQ-00@xxxxxxxxxxxxxxxxx> <3B3CA2D4.608135EF@xxxxxxxxxx> <3B3CA803.FF5BFD68@xxxxxxxxxxxxxxxx> <3B3D2366.FDD316E3@xxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
Andrew Morton writes:
> Jeff Garzik wrote:
> > 
> > Andrew Morton wrote:
> > > Which basically takes us back to the thing I did in
> > > December: allocate and reserve the device name at the
> > > start of probe, and publish it (ie: make it eligible for
> > > open) at the end of probe.
> > 
> > How does this solve the problem I just described, where device B gets
> > options intended for device A?
> 
> Or where someone swaps your NICs around.  Or where the kernel changes
> its bus scan direction.  Or when you're using /sbin/hotplug to load
> the drivers and the wind is in the South East.
> 
> It doesn't.  We need to be able to address interfaces by MAC address,
> bus location, etcetera to solve these things.
  ^^^^^^^^^^^^
/dev/netif/eth0 symlink to /dev/bus/pci0/slot1/function0/eth

                                Regards,

                                        Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current:   rgooch@xxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>