summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/Makefile
diff options
context:
space:
mode:
authorsfeldma@cumulusnetworks.com <sfeldma@cumulusnetworks.com>2014-01-17 07:57:49 +0100
committerDavid S. Miller <davem@davemloft.net>2014-01-18 03:51:58 +0100
commit07699f9a7c8d1002e07011d5aa382cd63241eea8 (patch)
tree3fb131944eee1d84e4bb41fa9a6b9c2cf098e5a4 /drivers/net/bonding/Makefile
parentnet: vxlan: do not use vxlan_net before checking event type (diff)
downloadlinux-07699f9a7c8d1002e07011d5aa382cd63241eea8.tar.xz
linux-07699f9a7c8d1002e07011d5aa382cd63241eea8.zip
bonding: add sysfs /slave dir for bond slave devices.
Add sub-directory under /sys/class/net/<interface>/slave with read-only attributes for slave. Directory only appears when <interface> is a slave. $ tree /sys/class/net/eth2/slave/ /sys/class/net/eth2/slave/ ├── ad_aggregator_id ├── link_failure_count ├── mii_status ├── perm_hwaddr ├── queue_id └── state $ cat /sys/class/net/eth2/slave/* 2 0 up 40:02:10:ef:06:01 0 active Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/Makefile')
-rw-r--r--drivers/net/bonding/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/Makefile b/drivers/net/bonding/Makefile
index 5a5d720da929..6f4e80853ed4 100644
--- a/drivers/net/bonding/Makefile
+++ b/drivers/net/bonding/Makefile
@@ -4,7 +4,7 @@
obj-$(CONFIG_BONDING) += bonding.o
-bonding-objs := bond_main.o bond_3ad.o bond_alb.o bond_sysfs.o bond_debugfs.o bond_netlink.o bond_options.o
+bonding-objs := bond_main.o bond_3ad.o bond_alb.o bond_sysfs.o bond_sysfs_slave.o bond_debugfs.o bond_netlink.o bond_options.o
proc-$(CONFIG_PROC_FS) += bond_procfs.o
bonding-objs += $(proc-y)