mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 21:24:00 +08:00
07699f9a7c
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>
12 lines
279 B
Makefile
12 lines
279 B
Makefile
#
|
|
# Makefile for the Ethernet Bonding driver
|
|
#
|
|
|
|
obj-$(CONFIG_BONDING) += bonding.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)
|
|
|