]> git.baikalelectronics.ru Git - kernel.git/commit
[NET]: Expose netdevice dev_id through sysfs
authorDavid Woodhouse <dwmw2@infradead.org>
Sun, 20 Apr 2008 23:07:43 +0000 (16:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 Apr 2008 23:07:43 +0000 (16:07 -0700)
commit305a3e2be58fb075e966017d611f65748ddcd25e
tree8a62c799b03820930b756c0d867b480386cb2d2f
parentd32e82182a2398c4629f77a01b4e87655d3ce521
[NET]: Expose netdevice dev_id through sysfs

Expose dev_id to userspace, because it helps to disambiguate between
interfaces where the MAC address is unique.

This should allow us to simplify the handling of persistent naming for
S390 network devices in udev -- because it can depend on a simple
attribute of the device like the other match criteria, rather than
having a special case for SUBSYSTEMS=="ccwgroup".

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net-sysfs.c