Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91927
b: refs/heads/master
c: 9d29672
h: refs/heads/master
i:
  91925: f378b10
  91923: 340f684
  91919: c522da3
v: v3
  • Loading branch information
David Woodhouse authored and David S. Miller committed Apr 20, 2008
1 parent e18a963 commit d729c02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f7d0e5a506396419eb731b6c6cd97ed23c9245c7
refs/heads/master: 9d29672c64505f2d7f707701b829715705308a69
2 changes: 2 additions & 0 deletions trunk/net/core/net-sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ static ssize_t netdev_store(struct device *dev, struct device_attribute *attr,
return ret;
}

NETDEVICE_SHOW(dev_id, fmt_hex);
NETDEVICE_SHOW(addr_len, fmt_dec);
NETDEVICE_SHOW(iflink, fmt_dec);
NETDEVICE_SHOW(ifindex, fmt_dec);
Expand Down Expand Up @@ -210,6 +211,7 @@ static ssize_t store_tx_queue_len(struct device *dev,

static struct device_attribute net_class_attributes[] = {
__ATTR(addr_len, S_IRUGO, show_addr_len, NULL),
__ATTR(dev_id, S_IRUGO, show_dev_id, NULL),
__ATTR(iflink, S_IRUGO, show_iflink, NULL),
__ATTR(ifindex, S_IRUGO, show_ifindex, NULL),
__ATTR(features, S_IRUGO, show_features, NULL),
Expand Down

0 comments on commit d729c02

Please sign in to comment.