diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-23 15:23:45 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-23 15:23:45 -0400 |
commit | b0d19a378a409373244088511e889957645f2a44 (patch) | |
tree | 25275409eeea845f2e7617f12c8f28801ee4198f /net/core | |
parent | 0093cb1199ec551f179562ca9fbd6f64fb750645 (diff) | |
parent | d7d313000ba2fc94a5383511a17ff38a39bab928 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
iwlwifi: Fix built-in compilation of iwlcore
net: Unexport move_addr_to_{kernel,user}
rt2x00: Select LEDS_CLASS.
iwlwifi: Select LEDS_CLASS.
leds: Do not guard NEW_LEDS with HAS_IOMEM
[IPSEC]: Fix catch-22 with algorithm IDs above 31
time: Export set_normalized_timespec.
tcp: Make use of before macro in tcp_input.c
hamradio: Remove unneeded and deprecated cli()/sti() calls in dmascc.c
[NETNS]: Remove empty ->init callback.
[DCCP]: Convert do_gettimeofday() to getnstimeofday().
[NETNS]: Don't initialize err variable twice.
[NETNS]: The ip6_fib_timer can work with garbage on net namespace stop.
[IPV4]: Convert do_gettimeofday() to getnstimeofday().
[IPV4]: Make icmp_sk_init() static.
[IPV6]: Make struct ip6_prohibit_entry_template static.
tcp: Trivial fix to correct function name in a comment in net/ipv4/tcp.c
[NET]: Expose netdevice dev_id through sysfs
skbuff: fix missing kernel-doc notation
[ROSE]: Fix soft lockup wrt. rose_node_list_lock
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/net-sysfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c index 7635d3f72723..4e7b847347f7 100644 --- a/net/core/net-sysfs.c +++ b/net/core/net-sysfs.c | |||
@@ -87,6 +87,7 @@ static ssize_t netdev_store(struct device *dev, struct device_attribute *attr, | |||
87 | return ret; | 87 | return ret; |
88 | } | 88 | } |
89 | 89 | ||
90 | NETDEVICE_SHOW(dev_id, fmt_hex); | ||
90 | NETDEVICE_SHOW(addr_len, fmt_dec); | 91 | NETDEVICE_SHOW(addr_len, fmt_dec); |
91 | NETDEVICE_SHOW(iflink, fmt_dec); | 92 | NETDEVICE_SHOW(iflink, fmt_dec); |
92 | NETDEVICE_SHOW(ifindex, fmt_dec); | 93 | NETDEVICE_SHOW(ifindex, fmt_dec); |
@@ -210,6 +211,7 @@ static ssize_t store_tx_queue_len(struct device *dev, | |||
210 | 211 | ||
211 | static struct device_attribute net_class_attributes[] = { | 212 | static struct device_attribute net_class_attributes[] = { |
212 | __ATTR(addr_len, S_IRUGO, show_addr_len, NULL), | 213 | __ATTR(addr_len, S_IRUGO, show_addr_len, NULL), |
214 | __ATTR(dev_id, S_IRUGO, show_dev_id, NULL), | ||
213 | __ATTR(iflink, S_IRUGO, show_iflink, NULL), | 215 | __ATTR(iflink, S_IRUGO, show_iflink, NULL), |
214 | __ATTR(ifindex, S_IRUGO, show_ifindex, NULL), | 216 | __ATTR(ifindex, S_IRUGO, show_ifindex, NULL), |
215 | __ATTR(features, S_IRUGO, show_features, NULL), | 217 | __ATTR(features, S_IRUGO, show_features, NULL), |