Re: [PATCH 2.6.20] kobject net ifindex + rename

From: Johannes Berg
Date: Wed Feb 28 2007 - 14:04:42 EST


On Wed, 2007-02-28 at 10:51 -0800, Jean Tourrilhes wrote:

> That's why I always specify the kernel version. I'll look into
> that, I'm sure it's not the end of the world ;-)

Sure, just wanted to point it out.

> In which sense ? Wireless interface are regular netdevices.

Yeah but in mac80211 we have the wiphy concept since multiple virtual
interfaces can be associated to one hardware, and that is where QoS is
done, not the netdevs. Of course, those interested can just listen to
nl80211 events to figure out if someone renamed a 802.11 phy, but things
like hal would probably not want to and still know about the name
change.

> I'm just trying to follow the established pattern. Both
> class_device_add() and class_device_del() are generating the
> event. Also, I'm not sure if other subsystem would benefit from it, I
> don't want to generate too many useless events.

I don't think many other subsystems (can) rename things ;)

johannes

Attachment: signature.asc
Description: This is a digitally signed message part